Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Vhost problems with dash in URL

$
0
0
Hallo and sorry für cross posting. I write this question in the german forum but i dont get a answer.

I setup a nginx Server with ISPConfig3 and it work well. Simply one thing disturb. I own a Domain with dash "www.shopping-ffm.de". If i configure them i get a error in the config of vhost. I arrive only of the main side from nginx.

I visit the file shopping-ffm.de.vhost in sites-available and see the writing syntaxerror in config. I rename the .err file and try what happend. The error ist prouced by server_name. If i take the dash out from the Name the config is loaded. I tried ', ", [ and * but it does not help. Only *.de work properly. Unfortunately i have 3 Domains on the server with dash :-( Only one i can resolve like this.

Did somebody have a idea what i do wrong?
Sorry for my english! Thanks for your help.

Greetings Mike

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>