日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

amazon linux 安装nginx,linux – NGINX不显示Amazon EC2实例上的默认页...

發布時間:2025/3/19 linux 18 豆豆
生活随笔 收集整理的這篇文章主要介紹了 amazon linux 安装nginx,linux – NGINX不显示Amazon EC2实例上的默认页... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我在Fedora上安裝了nginx.但我不知道為什么我不能通過瀏覽器請求服務器IP來獲取默認的nginx頁面.我的請求因超時而下降.

但是nginx正在運行.

$sudo service nginx status

nginx (pid 20372) is running...

我的默認生成配置是

# For more information on configuration, see:

# * Official English Documentation: http://nginx.org/en/docs/

# * Official Russian Documentation: http://nginx.org/ru/docs/

user nginx;

worker_processes auto;

error_log /var/log/nginx/error.log;

pid /var/run/nginx.pid;

events {

worker_connections 1024;

}

http {

log_format main '$remote_addr - $remote_user [$time_local] "$request" '

'$status $body_bytes_sent "$http_referer" '

'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;

tcp_nopush on;

tcp_nodelay on;

keepalive_timeout 65;

types_hash_max_size 2048;

include /etc/nginx/mime.types;

default_type application/octet-stream;

# Load modular configuration files from the /etc/nginx/conf.d directory.

# See http://nginx.org/en/docs/ngx_core_module.html#include

# for more information.

include /etc/nginx/conf.d/*.conf;

index index.html index.htm;

server {

listen 80 default_server;

listen [::]:80 default_server;

server_name localhost;

root /usr/share/nginx/html;

# Load configuration files for the default server block.

include /etc/nginx/default.d/*.conf;

location / {

}

# redirect server error pages to the static page /40x.html

#

error_page 404 /404.html;

location = /40x.html {

}

# redirect server error pages to the static page /50x.html

#

error_page 500 502 503 504 /50x.html;

location = /50x.html {

}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80

#

#location ~ \.php${

# proxy_pass http://127.0.0.1;

#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000

#

#location ~ \.php${

# root html;

# fastcgi_pass 127.0.0.1:9000;

# fastcgi_index index.php;

# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;

# include fastcgi_params;

#}

# deny access to .htaccess files, if Apache's document root

# concurs with nginx's one

#

#location ~ /\.ht {

# deny all;

#}

}

# Settings for a TLS enabled server.

#

# server {

# listen 443 ssl;

# listen [::]:443 ssl;

# server_name localhost;

# root /usr/share/nginx/html;

#

# ssl_certificate "/etc/pki/nginx/server.crt";

# ssl_certificate_key "/etc/pki/nginx/private/server.key";

# # It is *strongly* recommended to generate unique DH parameters

# # Generate them with: openssl dhparam -out /etc/pki/nginx/dhparams.pem 2048

# #ssl_dhparam "/etc/pki/nginx/dhparams.pem";

# ssl_session_cache shared:SSL:1m;

# ssl_session_timeout 10m;

# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

# ssl_ciphers HIGH:SEED:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!RSAPSK:!aDH:!aECDH:!EDH-DSS-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA:!SRP;

# ssl_prefer_server_ciphers on;

#

# # Load configuration files for the default server block.

# include /etc/nginx/default.d/*.conf;

#

# location / {

# }

#

# error_page 404 /404.html;

# location = /40x.html {

# }

#

# error_page 500 502 503 504 /50x.html;

# location = /50x.html {

# }

# }

}

我不知道發生了什么. /var/log/nginx/access.log和/var/log/nginx/access.log也是空的.請幫忙…

總結

以上是生活随笔為你收集整理的amazon linux 安装nginx,linux – NGINX不显示Amazon EC2实例上的默认页...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 日日草天天干 | 精品国产aⅴ | 中文字幕网伦射乱中文 | 一本色道久久综合亚洲精品 | 操碰人人| 少妇高潮淫片免费观看 | 一区二区三区视频免费在线观看 | 欧美日韩国产第一页 | 黄色a级在线观看 | 色五五月| 拔擦8x成人一区二区三区 | 欧美播放器| 精品久久9999| 色播一区二区 | 成人有色视频 | 天天射,天天干 | 国产最爽的乱淫视频国语对白 | 污视频在线观看免费 | 国产日韩专区 | 欧美www视频| 国产乱国产乱老熟 | 免费福利av | 2019亚洲男人天堂 | 欧美久久久精品 | 国产精品剧情一区 | 情五月 | 天天操天天操天天操天天操 | 河北彩花中文字幕 | h在线观看视频 | 456亚洲视频 | www.超碰97| 美女打屁股网站 | 男女啪啪毛片 | 亚洲av电影一区 | 国产男女网站 | 国产精品女同 | 艳母日本动漫在线观看 | 成人在线免费高清视频 | 欧美一二三 | 国产高潮国产高潮久久久 | 在线日韩av| 91国产在线免费观看 | 拍摄av现场失控高潮数次 | 久久成人黄色 | 精品视频网 | 亚洲AV无码成人片在线观看 | 深夜激情影院 | 3d动漫精品啪啪一区二区三区免费 | 国产成人精品女人久久久 | 久久青青操| 精品人妻一区二区三区日产乱码 | 日本网站免费 | 好吊妞视频一区二区三区 | 亚洲高清久久久 | 女人av | 国产精品成人久久久久久久 | 成人性视频网站 | 999国内精品永久免费视频 | www.日韩一区 | 岛国裸体写真hd在线 | 欧美夫妇交换xxx | 少妇人妻偷人精品无码视频新浪 | 精品欧美一区二区三区 | 老司机午夜免费视频 | 99久久亚洲精品日本无码 | 波多野结衣高清在线 | 国产精品s色| 精品少妇 | 黄色一级片一级片 | 在线不卡毛片 | 精品国产精品网麻豆系列 | 福利资源导航 | 精品动漫av | 国产精品一亚洲av日韩av欧 | 国产jk精品白丝av在线观看 | 欧美一级片在线看 | 疯狂做受xxxx国产 | 国产1区2区3区 | 在线观看免费av片 | 日韩成人动漫在线观看 | 天天操女人 | 亚洲看| 国产精品扒开腿做爽爽爽a片唱戏 | www.在线观看网站 | 久久久久久久久久久久电影 | 天天射天天搞 | www超碰在线 | 日韩av在线影院 | 美日韩av在线 | 亚洲人吸女人奶水 | 91精品综合| 两性午夜视频 | 久久国产夫妻 | 亚欧毛片 | 国产xxxx | 人人综合网 | 69久久夜色精品国产69 | 九九亚洲视频 | 亚洲午夜无码久久 |