Created
July 27, 2016 05:39
-
-
Save aaomidi/49f2db87355145a6454d072b3d2f3bdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 443 ssl; | |
| server_name septa.aaomidi.com; | |
| access_log /web/logs/aaomidi-septa-https-access.log; | |
| error_log /web/logs/aaomidi-septa-https-error.log; | |
| ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; | |
| ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; | |
| location / { | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_http_version 1.1; | |
| proxy_set_header Host "www3.septa.org"; | |
| proxy_redirect off; | |
| proxy_pass http://www3.septa.org:80; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment