Created
October 27, 2014 05:26
-
-
Save nutzhub/708420fba6e84e997535 to your computer and use it in GitHub Desktop.
This file contains 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 chat.dev.abctech-thailand.com ~.+\.chat\.dev\.abctech-thailand\.com$ ~.+\.chat\.int\.abctech-thailand\.com$ chat.abct.io; | |
location / { | |
proxy_pass http://meetv:8080/; | |
proxy_http_version 1.1; | |
proxy_redirect off; | |
proxy_set_header X-Forwarded-For $remote_addr; | |
proxy_set_header X-Forwarded-Port 443; | |
proxy_set_header Host $host; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
add_header Strict-Transport-Security max-age=31536000; | |
add_header X-Frame-Options DENY; | |
} | |
include /etc/nginx/robots.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment