announcements alias to /var/log
This commit is contained in:
parent
9e2aac48b9
commit
6c5f1187cb
|
@ -137,6 +137,14 @@ location ~ ^/p/(?<user>[\w-]+).asc?$ {
|
|||
location ~ ^/p/(?<user>[\w-]+).gpg?$ {
|
||||
alias /sshfs/home/$user/.pgp.gpg;
|
||||
}
|
||||
location ~ ^/en/announcements(.html)?$ {
|
||||
default_type text/html;
|
||||
alias /var/log/announcements.html;
|
||||
}
|
||||
location ~ ^/en/ssi_anno(.shtml)?$ {
|
||||
default_type text/html;
|
||||
alias /var/log/ssi_anno.shtml;
|
||||
}
|
||||
## users
|
||||
location ~ ^/(~|u/)(?<user>[\w-]+)(?<user_uri>/.*)?$ {
|
||||
error_log /var/log/nginx/vern.cc-error.log crit;
|
||||
|
|
Loading…
Reference in New Issue