Guest User

Untitled

a guest
Nov 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. server {
  2. listen 80;
  3. rewrite ^/$ /myapp redirect;
  4. location / {
  5. root /usr/share/nginx/html;
  6. index index.html index.htm;
  7. location /myapp/index.* {
  8. add_header Cache-Control 'max-age=300, must-revalidate';
  9. }
  10. }
  11. }
Add Comment
Please, Sign In to add comment