shinji

Untitled

Jun 15th, 2016
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server ipv6only=on;
  4.  
  5. server_name my-ghost-blog.com; # Replace with your domain
  6.  
  7. root /usr/share/nginx/html;
  8. index index.html index.htm;
  9.  
  10. client_max_body_size 10G;
  11.  
  12. location / {
  13. proxy_pass http://localhost:2368;
  14. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  15. proxy_set_header Host $http_host;
  16. proxy_set_header X-Forwarded-Proto $scheme;
  17. proxy_buffering off;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment