How to set the server name in Nginx? #225
Answered
by
markseuffert
hysonlee
asked this question in
Ask a question
-
My local nginx conf set as below:
the site running normal fine, but when I visit via IP and click "Edit" the page will goto Yellow already update to v.0.6.7, PHP version is 7.0.14 many thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
markseuffert
Feb 18, 2017
Replies: 1 comment
-
I am afraid to say that I am not a big help with Nginx. Can you test it with Yellow 0.6.9? You can also try the following catch-all server block in your Nginx configuration:
... or use two server blocks, one for your static IP and one for localhost:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
annaesvensson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am afraid to say that I am not a big help with Nginx. Can you test it with Yellow 0.6.9?
You can also try the following catch-all server block in your Nginx configuration:
... or use two server blocks, one for your static IP and one for localhost: