add pgp list and make index.php an option for index
This commit is contained in:
parent
91ead19609
commit
791953862e
|
@ -1,7 +1,7 @@
|
||||||
add_header Onion-Location http://vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
add_header Onion-Location http://vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||||
add_header X-I2P-Location http://verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p$request_uri;
|
add_header X-I2P-Location http://verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p$request_uri;
|
||||||
root /var/www/website;
|
root /var/www/website;
|
||||||
index index.html;
|
index index.html index.php;
|
||||||
ssi on;
|
ssi on;
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_disable "msie6";
|
gzip_disable "msie6";
|
||||||
|
@ -118,3 +118,15 @@ location /status {
|
||||||
auth_basic "Administrator Login";
|
auth_basic "Administrator Login";
|
||||||
auth_basic_user_file /var/www/htpasswd;
|
auth_basic_user_file /var/www/htpasswd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/p/(?<user>[\w-]+).asc?$ {
|
||||||
|
alias /sshfs/home/$user/.pgp.asc;
|
||||||
|
default_type text/plain;
|
||||||
|
}
|
||||||
|
location ~ ^/p/(?<user>[\w-]+).gpg?$ {
|
||||||
|
alias /sshfs/home/$user/.pgp.gpg;
|
||||||
|
}
|
||||||
|
#location /p/list {
|
||||||
|
# default_type text/plain;
|
||||||
|
# alias p/list;
|
||||||
|
#}
|
||||||
|
|
Loading…
Reference in New Issue