Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Add example nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
tedwardd committed Feb 14, 2018
1 parent 53e9fdb commit 3d8ba47
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/example_nginx
Original file line number Diff line number Diff line change
@@ -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.