server {
listen 80;
root /www/web/demo;
server_name sss.com www.sss.com;
if ( http://www.sss.com/ {
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
location ~ /.ht {
deny all;
}
location / {
try_files $uri @apache;
}
location @apache {
internal;
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
}
网友评论