Skip to content

Commit

Permalink
fix: added required nginx fields
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Feb 13, 2024
1 parent 98cbb4b commit 8afe83e
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
server {
listen 7777;
root /srv/static;
autoindex off;
user www-data;
worker_processes 1;
pid /run/nginx.pid;

location / {
try_files $uri $uri/ =404;
events {}

http {
include /etc/nginx/mime.types;
include /etc/nginx/conf.d/*.conf;

server {
listen 7777;
root /srv/static;
autoindex off;

location / {
try_files $uri $uri/ =404;
}
}
}

0 comments on commit 8afe83e

Please sign in to comment.