proper nginx base configurations

This commit is contained in:
shockrah 2024-04-28 16:46:54 -07:00
parent dffccd4b86
commit 485890e961
3 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,8 @@
server {
listen 80;
server_name resume.shockrah.xyz;
root /opt/nginx/resume.shockrah.xyz;
index index.html;
server_name resume.shockrah.xyz;
location / {
try_files $uri $uri/ =404;

View File

@ -1,8 +1,8 @@
server {
listen 80;
server_name shockrah.xyz;
root /opt/nginx/shockrah.xyz;
index index.html;
server_name shockrah.xyz;
location / {
try_files $uri $uri/ =404;

View File

@ -1,7 +1,8 @@
server {
listen 80;
server_name temper.tv;
root /opt/nginx/temper.tv;
index index.html;
server_name temper.tv;
location / {
try_files $uri $uri/ =404;