fix website 404; add peertube i2p
This commit is contained in:
parent
dd767915b0
commit
dc10772f3f
|
@ -16,11 +16,11 @@ location / {
|
||||||
# rewrite ^/(.*)/$ /$1 permanent;
|
# rewrite ^/(.*)/$ /$1 permanent;
|
||||||
try_files $uri $uri/index.html $uri.html $uri/ @extensionless-php;
|
try_files $uri $uri/index.html $uri.html $uri/ @extensionless-php;
|
||||||
|
|
||||||
error_page 403 /errors/403;
|
|
||||||
error_page 404 /errors/404;
|
|
||||||
error_page 503 /errors/503;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_page 403 /errors/403;
|
||||||
|
error_page 404 /errors/404;
|
||||||
|
error_page 503 /errors/503;
|
||||||
location ~* \.(jpg|jpeg|png|gif|ico)$ {
|
location ~* \.(jpg|jpeg|png|gif|ico)$ {
|
||||||
expires 30d;
|
expires 30d;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,6 @@ location @extensionless-php {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^(/media/|/canaries/)$ {
|
location ~ ^(/media/|/canaries/)$ {
|
||||||
#autoindex on;
|
|
||||||
fancyindex on;
|
fancyindex on;
|
||||||
fancyindex_exact_size off;
|
fancyindex_exact_size off;
|
||||||
fancyindex_default_sort date_desc;
|
fancyindex_default_sort date_desc;
|
||||||
|
|
|
@ -20,11 +20,9 @@ server {
|
||||||
include common/peertube.conf;
|
include common/peertube.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
#server {
|
server {
|
||||||
# listen 11030;
|
listen 11051;
|
||||||
# listen [::]:11030;
|
listen [::]:11051;
|
||||||
#
|
server_name vernyvyqme7hnsfmfty7s7aawpndayyfbbydqlfewuuemzwh332q.b32.i2p;
|
||||||
# server_name vernyaourawd4avjf7ye6g43pqovys5wqdr672kervjpev353klq.b32.i2p;
|
include common/peertube.conf;
|
||||||
#
|
}
|
||||||
# include common/peertube.conf;
|
|
||||||
#}
|
|
||||||
|
|
Loading…
Reference in New Issue