mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #12195 from istvan-berenyi/feature/nginx_conf
Feature/nginx conf
This commit is contained in:
@@ -22,8 +22,12 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
# With NGinx >= 1.25.1 you should use this instead:
|
||||
# listen 443 ssl;
|
||||
# listen [::]:443 ssl;
|
||||
# http2 on;
|
||||
server_name cloud.example.com;
|
||||
|
||||
# Path to the root of your installation
|
||||
|
||||
@@ -26,6 +26,10 @@ server {
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
# With NGinx >= 1.25.1 you should use this instead:
|
||||
# listen 443 ssl;
|
||||
# listen [::]:443 ssl;
|
||||
# http2 on;
|
||||
server_name cloud.example.com;
|
||||
|
||||
# Path to the root of the domain
|
||||
|
||||
Reference in New Issue
Block a user