Created
July 18, 2016 10:09
-
-
Save wernersmit/bff7b88ca5fe5d4dd966224c54bbe0e6 to your computer and use it in GitHub Desktop.
Nginx Basic Site Proxy Template
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 fqdn.domain.com; | |
access_log /var/log/nginx/fqdn.domain.com-access.log; | |
gzip on; | |
gzip_static on; | |
gzip_http_version 1.1; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_disable "MSIE [1-6]\."; | |
gzip_vary on; | |
# Catch all - processes request not handled. | |
location / { | |
proxy_hide_header X-Pingback; | |
include /etc/nginx/proxy_params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment