diff --git a/contrib/nginx/zammad_ssl.conf b/contrib/nginx/zammad_ssl.conf index bc973ed86..d7a43f285 100644 --- a/contrib/nginx/zammad_ssl.conf +++ b/contrib/nginx/zammad_ssl.conf @@ -28,9 +28,8 @@ server { root /var/www/html; } - location / { - rewrite ^/(.*)$ https://example.com/$1 permanent; - } + return 301 https://example.com$request_uri; + }