Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. worker_processes 1;
  2.  
  3. events {
  4. worker_connections 1024;
  5. }
  6.  
  7. http {
  8. server {
  9. listen 80;
  10. server_name localhost;
  11.  
  12. root /usr/share/nginx/html/test-app;
  13. index index.html index.htm;
  14. include /etc/nginx/mime.types;
  15.  
  16. gzip on;
  17. gzip_min_length 1000;
  18. gzip_proxied expired no-cache no-store private auth;
  19. gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  20.  
  21. location / {
  22. try_files $uri $uri/ /index.html;
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement