blog.lazkani.io/nginx/default.conf.template
Elia el Lazkani e28a8c9d35
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/promote/production Build is passing
chore(): Building blog container for deployment
2023-07-01 17:47:58 +02:00

20 lines
337 B
Text

server {
listen ${NGINX_PORT};
server_name localhost;
root /usr/share/nginx/html/blog;
error_page 404 /not-found/index.html;
error_page 403 /forbidden/index.html;
location / {
index index.html;
try_files $uri $uri/ =404;
}
location ^~ /nginx/ {
return 403;
}
}