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

https://toster.ru/q/253161

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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -