Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- rewrite ^/$ /myapp redirect;
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- location /myapp/index.* {
- add_header Cache-Control 'max-age=300, must-revalidate';
- }
- }
- }
Add Comment
Please, Sign In to add comment