diff options
author | makefu <root@pigstarter.de> | 2014-01-20 22:43:40 +0100 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2014-01-20 22:43:40 +0100 |
commit | b0cedd7f9745902e462a91aac7a34de8f3798c27 (patch) | |
tree | d5695fe749e6d8ccb8b245c1758cc4fbb619aaca /sites/mediengewitter.krebsco.de/mediengewitter/etc/nginx | |
parent | 7baee36853d0fae399a951918c2b8ebe4e6da6a8 (diff) | |
parent | c04f99d787e56c7eb5db611bcbcef8269e1b3903 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'sites/mediengewitter.krebsco.de/mediengewitter/etc/nginx')
-rw-r--r-- | sites/mediengewitter.krebsco.de/mediengewitter/etc/nginx/sites-available/mediengewitter.krebsco.de.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sites/mediengewitter.krebsco.de/mediengewitter/etc/nginx/sites-available/mediengewitter.krebsco.de.conf b/sites/mediengewitter.krebsco.de/mediengewitter/etc/nginx/sites-available/mediengewitter.krebsco.de.conf new file mode 100644 index 00000000..90ab803c --- /dev/null +++ b/sites/mediengewitter.krebsco.de/mediengewitter/etc/nginx/sites-available/mediengewitter.krebsco.de.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name mediengewitter.krebsco.de; +# access_log /var/log/nginx/log/mediengewitter.log; +# error_log /var/log/nginx/log/mediengewitter_error.log; + default_type text/plain; + location / { + proxy_pass http://127.0.0.1:8080/; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } +} + |