Add example nginx config

This commit is contained in:
Ted Wood 2018-02-13 22:50:03 -05:00
parent 53e9fdb28a
commit 3d8ba4781a
1 changed files with 19 additions and 0 deletions

19
examples/example_nginx Normal file
View File

@ -0,0 +1,19 @@
server {
listen 80;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
location / {
try_files $uri $uri/ =404;
}
location ~ .$ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8080;
}
}