Browse Source

Making root global

master
Elia el Lazkani 1 week ago
parent
commit
1bb05cf663
  1. 3
      nginx/default.conf.template

3
nginx/default.conf.template

@ -3,11 +3,12 @@ server {
listen ${NGINX_BLOG_PORT};
server_name localhost;
root /usr/share/nginx/html/${NGINX_BLOG_HOST};
error_page 404 /not-found/index.html;
error_page 403 /forbidden/index.html;
location / {
root /usr/share/nginx/html/${NGINX_BLOG_HOST};
index index.html;
try_files $uri $uri/ =404;

Loading…
Cancel
Save