diff options
author | Bryan Newbold <bnewbold@archive.org> | 2017-08-05 13:07:50 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2017-08-05 13:07:50 -0700 |
commit | 6b83183a205cb1e90c690c7e7f71c447cfae9a32 (patch) | |
tree | 870ae93beb63ce3d3b338346cff3a8f2fb35bcd1 /adze_extras/nginx-sites/afterklein.robocracy.org | |
parent | 8974dd5f9351c666a1144b0584189d3a07c62351 (diff) | |
download | infra-6b83183a205cb1e90c690c7e7f71c447cfae9a32.tar.gz infra-6b83183a205cb1e90c690c7e7f71c447cfae9a32.zip |
backup adze nginx config
Diffstat (limited to 'adze_extras/nginx-sites/afterklein.robocracy.org')
-rw-r--r-- | adze_extras/nginx-sites/afterklein.robocracy.org | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/adze_extras/nginx-sites/afterklein.robocracy.org b/adze_extras/nginx-sites/afterklein.robocracy.org new file mode 100644 index 0000000..1a849da --- /dev/null +++ b/adze_extras/nginx-sites/afterklein.robocracy.org @@ -0,0 +1,21 @@ +upstream afterklein-gitit { + server 127.0.0.1:5005; +} + +server { + listen 80; + listen [::]:80; + server_name afterklein.robocracy.org; + + access_log /var/log/nginx/access.log; + + location / { + root /srv/http/default/www/; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + proxy_redirect off; + proxy_pass http://afterklein-gitit; + } +} + |