Adding redirect for 80 which was causing issues on folder path calls to nginx
This commit is contained in:
@@ -35,14 +35,21 @@ http {
|
||||
|
||||
server {
|
||||
server_name "shockrah.xyz";
|
||||
root /var/www/shockrah.xyz;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
root /var/www/shockrah.xyz;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
server {
|
||||
server_name "resume.shockrah.xyz";
|
||||
|
||||
root /var/www/resume.shockrah.xyz;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
root /var/www/resume.shockrah.xyz;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user