-
-
Save Alhamou/fefd45c04893bca7cbe65c6f949c8706 to your computer and use it in GitHub Desktop.
Node.js/Express: Add Expires header to /images and /stylesheets directories
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
# set client body size to 20M # | |
client_max_body_size 20M; | |
server Block : | |
location / { | |
proxy_pass http://167.99.154.190:8080; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection 'upgrade'; | |
proxy_set_header Host $host; | |
proxy_cache_bypass $http_upgrade; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment