nginx配置:
server {
listen 80;
server_name www.swoole.com;
root /data/wwwroot/www.swoole.com;
location / {
if (!-e $request_filename){
proxy_pass http://127.0.0.1:9501;
}
}
}
nginx配置:
server {
listen 80;
server_name www.swoole.com;
root /data/wwwroot/www.swoole.com;
location / {
if (!-e $request_filename){
proxy_pass http://127.0.0.1:9501;
}
}
}