Permalink
Browse files

Add example nginx config

  • Loading branch information...
k4k committed Feb 14, 2018
1 parent 53e9fdb commit 3d8ba4781a7514acf2d97145480855c875791b10
Showing with 19 additions and 0 deletions.
  1. +19 −0 examples/example_nginx
@@ -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;
}
}

0 comments on commit 3d8ba47

Please sign in to comment.