php - Koken: Force overwriting the URL -


I have a website running Status is that I installed varnish on port : 80 And it redirects everything to Nginx, which is on the port : 8080 .

Now I want Nginx to write an error message when someone tries to access it from the outside (port : 8080 ), I want all Some first be managed by varnish.

Problem: You can not set a custom URL in Koken, so all posts on my site http://foo.com:8080/bar redirects.

Do you know how URLs can be banned in a custom URL?

Thanks for the reply, Balint

Adding it to your nginx.conf Try:

  port_in_redirect closed;  

This should keep 8080 out of your URL

To make sure you have to clear your cocaine system cache (in Settings> System) later on.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -