nginx
nsy1989
不创造代码,只是代码的搬用工(*^_^*)!
展开
-
宝塔下nginx配置easyswoole 通过IP访问
1.配置文件路劲:2.swoole.conf:# 配置EasySwoole节点 至少需要一个upstream easyswoole { server 127.0.0.1:9501;}server { # nginx所监听端口 listen 80 default_server; listen [::]:80 default_server; access_log /www/wwwlogs/easyswoole.log; location .原创 2021-07-21 16:09:15 · 573 阅读 · 0 评论 -
nginx phalcon3
server{ listen 80; server_name _; index index.php index.html index.htm; root /www/wwwroot/phalcon3/public; include enable-php.conf; location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expire.原创 2021-02-01 17:15:12 · 113 阅读 · 0 评论 -
Phalcon7 nginx配置
server { listen 80 default_server reuseport; #listen [::]:80 default_server ipv6only=on; server_name _; root "/home/wwwroot/default/pc7/public"; index index.php index.html index.htm; charset utf-8; location / { try_files $.原创 2021-01-21 07:34:57 · 157 阅读 · 0 评论 -
nginx 405 Not Allowed
解决方案: error_page 405 = 200 $uri;原创 2019-12-30 14:39:06 · 267 阅读 · 0 评论