Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NGINX CONFIG FILE
- server {
- listen 80;
- server_name domain.com;
- location / {
- root /path/to/web/files;
- index index.html index.htm;
- }
- }
- server {
- listen 80;
- server_name blog.domain.com;
- access_log /var/log/nginx/ghost.log;
- client_max_body_size 10M;
- location / {
- proxy_set_header HOST $http_host;
- proxy_pass http://localhost:2368/;
- proxy_redirect off;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement