mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-18 17:27:24 +00:00
mention that multipath only works on 1.29.7+
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
+13
-7
@@ -526,8 +526,11 @@ http {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:80 bind reuseport deferred multipath so_keepalive=on; # please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
listen [::]:80 bind reuseport deferred multipath so_keepalive=on; # comment to disable IPv6 - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on these options ip and port with this enabled
|
||||
listen 0.0.0.0:80 bind reuseport deferred so_keepalive=on; # for nginx versions below v1.29.7 - please remove "bind reuseport deferred so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
listen [::]:80 bind reuseport deferred so_keepalive=on; # for nginx versions below v1.29.7 - comment to disable IPv6 - please remove "bind reuseport deferred so_keepalive=on" if there is already another listener on these options ip and port with this enabled
|
||||
|
||||
#listen 0.0.0.0:80 bind reuseport deferred multipath so_keepalive=on; # for nginx v1.29.7+ - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
#listen [::]:80 bind reuseport deferred multipath so_keepalive=on; # for nginx v1.29.7+ - comment to disable IPv6 - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on these options ip and port with this enabled
|
||||
|
||||
if ($scheme = "http") {
|
||||
return 301 https://$host$request_uri;
|
||||
@@ -536,13 +539,16 @@ http {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
listen 0.0.0.0:443 ssl bind reuseport deferred multipath so_keepalive=on; # for nginx v1.25.1+ - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
listen [::]:443 ssl bind reuseport deferred multipath so_keepalive=on; # for nginx v1.25.1+ - comment to disable IPv6 - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
listen 0.0.0.0:443 ssl bind reuseport deferred so_keepalive=on; # for nginx v1.25.1+ - please remove "bind reuseport deferred so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
listen [::]:443 ssl bind reuseport deferred so_keepalive=on; # for nginx v1.25.1+ - comment to disable IPv6 - please remove "bind reuseport deferred so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
|
||||
#listen 0.0.0.0:443 ssl http2 bind reuseport deferred multipath so_keepalive=on; # for nginx versions below v1.25.1 - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
#listen [::]:443 ssl http2 bind reuseport deferred multipath so_keepalive=on; # for nginx versions below v1.25.1 - keep comment to disable IPv6 - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
#listen 0.0.0.0:443 ssl bind reuseport deferred multipath so_keepalive=on; # for nginx v1.29.7+ - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
#listen [::]:443 ssl bind reuseport deferred multipath so_keepalive=on; # for nginx v1.29.7+ - comment to disable IPv6 - please remove "bind reuseport deferred multipath so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
|
||||
#listen 0.0.0.0:443 quic reuseport; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+ - please remove "reuseport" if there is already another quic listener on this ip and port 443 with this enabled
|
||||
#listen 0.0.0.0:443 ssl http2 bind reuseport deferred so_keepalive=on; # for nginx versions below v1.25.1 - please remove "bind reuseport deferred so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
#listen [::]:443 ssl http2 bind reuseport deferred so_keepalive=on; # for nginx versions below v1.25.1 - keep comment to disable IPv6 - please remove "bind reuseport deferred so_keepalive=on" if there is already another listener on this ip and port with these options enabled
|
||||
|
||||
#listen 0.0.0.0:443 quic reuseport; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+ - please remove "reuseport" if there is already another quic listener on this ip and port 443 with this enabled
|
||||
#listen [::]:443 quic reuseport; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+ - please remove "reuseport" if there is already another quic listener on this ip and port 443 with this enabled reuseport - keep comment to disable IPv6
|
||||
#add_header Alt-Svc 'h3=":443"; ma=86400'; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user