Skip to content

Commit be972b2

Browse files
committed
Show temporary website instead of blog
The blog has been broken for a few years now. While we work on a new (hopefully simpler) site, this one will serve as a placeholder. The way I did it there are two possible issues: * The blog is no longer accessible as far as I can see but I think it's ok * It's possible to access usp.game.dev.org/website, not sure if that' a problem either
1 parent 7263b8e commit be972b2

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)