mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
adding include for managed collabora and pointers for letsencrypt
This commit is contained in:
parent
d965fa0f6b
commit
f6c8256500
@ -12,11 +12,19 @@ server {
|
|||||||
# HTTP Strict-Transport-Security header (start with a short max-age!)
|
# HTTP Strict-Transport-Security header (start with a short max-age!)
|
||||||
#add_header Strict-Transport-Security max-age=31536000; # 31536000sec=1year
|
#add_header Strict-Transport-Security max-age=31536000; # 31536000sec=1year
|
||||||
|
|
||||||
|
# A free of charge ssl certificate can be obtained from https://letsencrypt.org
|
||||||
|
# Instrunctions for Ubuntu 16.04 are eg. available at
|
||||||
|
# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
|
||||||
|
# Just use /etc/egroupware/nginx.conf instead of /etc/nginx/sites-available/default
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
|
|
||||||
index index.php index.nginx-debian.html index.html index.htm;
|
index index.php index.nginx-debian.html index.html index.htm;
|
||||||
|
|
||||||
|
# include other EGroupware parts like Collabora
|
||||||
|
include app.d/egroupware*.conf;
|
||||||
|
|
||||||
# EGroupware installed in /usr/share/egroupware
|
# EGroupware installed in /usr/share/egroupware
|
||||||
location ^~ /egroupware {
|
location ^~ /egroupware {
|
||||||
alias /usr/share/egroupware/;
|
alias /usr/share/egroupware/;
|
||||||
|
Loading…
Reference in New Issue
Block a user