diff --git a/seafile.subdomain.conf.sample b/seafile.subdomain.conf.sample deleted file mode 100644 index 29ffdbe..0000000 --- a/seafile.subdomain.conf.sample +++ /dev/null @@ -1,27 +0,0 @@ -## Version 2021/05/18 -# For use with the official Seafile Docker image (https://download.seafile.com/published/seafile-manual/docker/deploy%20seafile%20with%20docker.md) -# Requires that the seafile container uses the following env variables: -# SEAFILE_SERVER_LETSENCRYPT=true -# SEAFILE_SERVER_HOSTNAME=seafile.yourdomain.com -# Restart or create the seafile container after enabling this subdomain and restarting the letsencrypt contianer - -server { - listen 443 ssl; - listen [::]:443 ssl; - - server_name seafile.*; - - include /config/nginx/ssl.conf; - - client_max_body_size 0; - - location / { - include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf; - set $upstream_app seafile; - set $upstream_port 443; - set $upstream_proto https; - proxy_pass $upstream_proto://$upstream_app:$upstream_port; - - } -}