Skip to content

Commit 73e088b

Browse files
Merge pull request #15 from uspgamedev/temporary-website
Show temporary website instead of blog
2 parents 7263b8e + be972b2 commit 73e088b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

default.conf

+7-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ server {
1515
include /etc/nginx/shared/ssl.conf;
1616

1717
location = / {
18-
try_files $uri @blog;
18+
try_files $uri @website;
1919
}
2020

2121
location / {
@@ -24,7 +24,12 @@ server {
2424
try_files $uri
2525
$uri/index.html
2626
$uri/
27-
@blog;
27+
@website;
28+
}
29+
30+
location @website {
31+
root /var/www/static/website;
32+
autoindex on;
2833
}
2934

3035
location @blog {

0 commit comments

Comments
 (0)