No cryptpad login screen
This commit is contained in:
parent
43bd30463e
commit
d66536ab40
|
@ -283,6 +283,10 @@ function install_cryptpad_main {
|
||||||
echo ' try_files $uri =404;' >> $cryptpad_nginx_site
|
echo ' try_files $uri =404;' >> $cryptpad_nginx_site
|
||||||
echo ' }' >> $cryptpad_nginx_site
|
echo ' }' >> $cryptpad_nginx_site
|
||||||
echo '' >> $cryptpad_nginx_site
|
echo '' >> $cryptpad_nginx_site
|
||||||
|
echo ' location ^~ /login/ {' >> $cryptpad_nginx_site
|
||||||
|
echo ' try_files $uri =404;' >> $cryptpad_nginx_site
|
||||||
|
echo ' }' >> $cryptpad_nginx_site
|
||||||
|
echo '' >> $cryptpad_nginx_site
|
||||||
echo ' location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard|file|media)$ {' >> $cryptpad_nginx_site
|
echo ' location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard|file|media)$ {' >> $cryptpad_nginx_site
|
||||||
echo ' rewrite ^(.*)$ $1/ redirect;' >> $cryptpad_nginx_site
|
echo ' rewrite ^(.*)$ $1/ redirect;' >> $cryptpad_nginx_site
|
||||||
echo ' }' >> $cryptpad_nginx_site
|
echo ' }' >> $cryptpad_nginx_site
|
||||||
|
|
Loading…
Reference in New Issue