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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -