You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, FastGCI sets SERVER_PORT to the local port. This does not work when the container is behind a proxy or a NAT.
If for example you are natting your more router so that the external port is 80, but you run your service on a tomcat on port 8080, SERVER_PORT should be set 80, not 8080. To do so, FastCGI should pic the server port (req.getServerPort()) and may be fall back on req.getLocalPort(), not the other way around.
The text was updated successfully, but these errors were encountered:
In
php-java-bridge/src/main/java/io/soluble/pjb/servlet/fastcgi/FastCGIServlet.java
Line 201 in 146592a
php-java-bridge/src/main/java/io/soluble/pjb/servlet/ServletUtil.java
Line 97 in 146592a
If for example you are natting your more router so that the external port is 80, but you run your service on a tomcat on port 8080, SERVER_PORT should be set 80, not 8080. To do so, FastCGI should pic the server port (req.getServerPort()) and may be fall back on req.getLocalPort(), not the other way around.
The text was updated successfully, but these errors were encountered: