fix website 404; add peertube i2p
This commit is contained in:
parent
dd767915b0
commit
dc10772f3f
|
@ -16,11 +16,11 @@ location / {
|
|||
# rewrite ^/(.*)/$ /$1 permanent;
|
||||
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)$ {
|
||||
expires 30d;
|
||||
}
|
||||
|
@ -51,7 +51,6 @@ location @extensionless-php {
|
|||
}
|
||||
|
||||
location ~ ^(/media/|/canaries/)$ {
|
||||
#autoindex on;
|
||||
fancyindex on;
|
||||
fancyindex_exact_size off;
|
||||
fancyindex_default_sort date_desc;
|
||||
|
|
|
@ -20,11 +20,9 @@ server {
|
|||
include common/peertube.conf;
|
||||
}
|
||||
|
||||
#server {
|
||||
# listen 11030;
|
||||
# listen [::]:11030;
|
||||
#
|
||||
# server_name vernyaourawd4avjf7ye6g43pqovys5wqdr672kervjpev353klq.b32.i2p;
|
||||
#
|
||||
# include common/peertube.conf;
|
||||
#}
|
||||
server {
|
||||
listen 11051;
|
||||
listen [::]:11051;
|
||||
server_name vernyvyqme7hnsfmfty7s7aawpndayyfbbydqlfewuuemzwh332q.b32.i2p;
|
||||
include common/peertube.conf;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue