proper nginx base configurations
This commit is contained in:
1 parent
dffccd4b86
commit
485890e961
3 files changed
+5
-3
No files matched your search
@@ -1,7 +1,8 @@
|
|||||||
server {
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name resume.shockrah.xyz;
|
||||||
root /opt/nginx/resume.shockrah.xyz;
|
root /opt/nginx/resume.shockrah.xyz;
|
||||||
index index.html;
|
index index.html;
|
||||||
server_name resume.shockrah.xyz;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
server_name shockrah.xyz;
|
||||||
root /opt/nginx/shockrah.xyz;
|
root /opt/nginx/shockrah.xyz;
|
||||||
index index.html;
|
index index.html;
|
||||||
server_name shockrah.xyz;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
server {
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name temper.tv;
|
||||||
root /opt/nginx/temper.tv;
|
root /opt/nginx/temper.tv;
|
||||||
index index.html;
|
index index.html;
|
||||||
server_name temper.tv;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
|
|||||||
Reference in new issue
Block a user