mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update nginx.conf
keep config for nextcloud in a subdir of the nginx webroot
This commit is contained in:
parent
0fc36e40fa
commit
934d6babee
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@
|
||||||
# Either include it in the default mime.types list
|
# Either include it in the default mime.types list
|
||||||
# or include you can include that list explicitly and add the file extension
|
# or include you can include that list explicitly and add the file extension
|
||||||
# only for Nextcloud like below:
|
# only for Nextcloud like below:
|
||||||
#include mime.types;
|
include mime.types;
|
||||||
#types {
|
types {
|
||||||
# text/javascript js mjs;
|
text/javascript js mjs;
|
||||||
#}
|
}
|
||||||
|
|
||||||
location ^~ /.well-known {
|
location ^~ /.well-known {
|
||||||
# The following 6 rules are borrowed from `.htaccess`
|
# The following 6 rules are borrowed from `.htaccess`
|
||||||
|
|
Loading…
Add table
Reference in a new issue