Created
September 17, 2017 16:49
-
-
Save aldidana/ea9b71e02b7921a6aec6a13b427c3108 to your computer and use it in GitHub Desktop.
Ghost on Nginx
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 80; | |
| server_name *your-domain-name*; | |
| access_log /var/log/nginx/*your-domain-name*.log; | |
| location / { | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header HOST $http_host; | |
| proxy_set_header X-NginX-Proxy true; | |
| proxy_pass http://127.0.0.1:2368; | |
| proxy_redirect off; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment