US: 1-941-4621-069
Cyprus: 3-572-2052-781

Go Back Forums > ISPmanager > General technical discussion

Thread Tools
Old 07-27-2020, 07:01 PM   #1
Junior Member
Join Date: Mar 2020
Posts: 4 is on a distinguished road
Default www-domains > Edit breaks Nginx config

My Nginx config is set to redirect non www and also non https to

This means I have 3 server blocks:

server_name; for port 80 There is no https so
return 301$request_uri; send to https://www

server_name; for port 443 ssl There is no www so
return 301$request_uri; send to https://www

Now we are where we should be so:

server_name; This is correct.

If I make any change by editing the www-domain for instance enabling gzip or altering the cache then all 3 server blocks have their name changed like:


This causes an infinite redirect loop.

Why are the server blocks re-written each time? just to add entries. is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:37 AM.