Created
April 10, 2017 06:35
-
-
Save Edarlingen/b1c8d6c487d66af80015271e14735d26 to your computer and use it in GitHub Desktop.
nginx: if-modified-since
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
location @fallback { | |
proxy_pass http://127.0.0.1:8080; | |
proxy_redirect http://127.0.0.1:8080 /; | |
proxy_set_header Host $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Proto $scheme; | |
proxy_set_header If-Modified-Since $http_if_modified_since; | |
access_log off ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment