DocPad + Nginx Not work -
i use tutorial: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-docpad-application-on-ubuntu-14-04
but nothing: http://doc.ixley.ru/
in file doc.ixley.ru @ etc/nginx
server { server_name doc.ixley.ru; root /var/www/doc.ixley.ru/; index index.html index.htm; # trim modification date resource url location ~* ^/\d+/(css|js)/ { rewrite ^/(\d+)/(.*)$ /$2; } # cache front-end assets location ~* \.(ico|css|js|gif|jpe?g|png)$ { expires max; access_log off; add_header pragma public; add_header cache-control "public"; } # enable precompressed .gz files serving gzip_static on;
}
but nothing
docpad located /var/www/doc.ixley.ru/
please help
server { listen 80; server_name doc.ixley.ru; root /var/www/doc.ixley.ru/out/; index index.html index.htm; location / { try_files $uri $uri.html $uri/ =404; }
}
Comments
Post a Comment