From 237e44fca508e21ec8949b37f9a9fa9b6ffdc50c Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 30 Apr 2020 01:35:51 +0300 Subject: [PATCH] Nextcloud. Nginx config added. --- .../nextcloud.domain.tld.conf.dist | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nextcloud/etc/nginx/sites-available/nextcloud.domain.tld.conf.dist diff --git a/nextcloud/etc/nginx/sites-available/nextcloud.domain.tld.conf.dist b/nextcloud/etc/nginx/sites-available/nextcloud.domain.tld.conf.dist new file mode 100644 index 0000000..a77b8d3 --- /dev/null +++ b/nextcloud/etc/nginx/sites-available/nextcloud.domain.tld.conf.dist @@ -0,0 +1,18 @@ +server { + listen 443 ssl http2; + server_name nextcloud.server.tld; + + #access_log /var/log/nginx/nextcloud.server.tld.access; + error_log /var/log/nginx/nextcloud.server.tld.error; + + charset utf-8; + + location / { + proxy_pass http://127.0.0.1:8443; + } + + #include config/gzip.conf; + + # Wildcard certificate config + #include ssl/server.tld.conf; +}