mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Update installation_others.rst
Update https rewrite. See http://wiki.nginx.org/Pitfalls#Taxing_Rewrites
This commit is contained in:
parent
3d5b284f9d
commit
f3b5cd18ec
@ -19,7 +19,7 @@ Nginx Configuration
|
||||
server {
|
||||
listen 80;
|
||||
server_name cloud.example.com;
|
||||
rewrite ^ https://$server_name$request_uri? permanent; # enforce https
|
||||
return 301 https://$server_name$request_uri; # enforce https
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user