reverse-proxy

WildFly 8.2.0, JBossWS using reverse proxy generates incorrect https soap:address

邮差的信 提交于 2021-02-07 07:58:26
问题 My setup is a apache server on https acting as a reverse proxy to WildFly 8.2.0 responding on port 8080. The web service is created using the bottom up approach via annotations. The soap:address that is generated does not have the correct protocol or port. I have modified the standalone.xml to specify the wsdl-host and allow modification of the WSDL URL. The webservices subsystem are as follows: <subsystem xmlns="urn:jboss:domain:webservices:1.2"> <wsdl-host>myhost.com</wsdl-host> <modify

Nginx reverse proxy subdirectory rewrites for sourcegraph

ε祈祈猫儿з 提交于 2021-02-07 07:16:48
问题 I'm trying to have a self hosted sourcegraph server being served on a subdirectory of my domain using a reverse proxy to add an SSL cert. The target is to have http://example.org/source serve the sourcegraph server My rewrites and reverse proxy look like this: location /source { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; rewrite ^/source/?(.*) /$1 break; proxy_pass http:/

reverse proxy on AppEngine (restlet 2.1) : 404 - client protocol missing

北城余情 提交于 2021-01-29 12:10:13
问题 Trying to get Restlet going on AppEngine to use as a reverse proxy for a 3rd party json/xml service. AppEngine version 1.5.5 Restlet GAE edition 2.1RC1 I setup Restlet in my web.xml like this : <servlet> <servlet-name>​RestletServlet</s​ervlet-name> <servlet-class​>org.restlet.ext.ser​vlet.ServerServlet​</servlet-class>​ <init-param> <param-name>or​g.restlet.applicatio​n</param-name>​ <param-value>b​e.koma.server.MyAppl​ication</param-va​lue> </init-param> </servlet> <servlet-mapping>

Custom Error Page not showing with using AJP Proxy with Apache

一笑奈何 提交于 2021-01-29 11:41:14
问题 I am trying to setup custom 403 and 404 error pages on Apache. Server config is as follows: Server version: Apache/2.4.29 (Ubuntu) Server built: 2019-04-03T13:22:37 Ubuntu 18.04.2 LTS I use Apache for AJP reverse proxy, as below: ProxyVia On ProxyRequests Off ProxyPreserveHost On ProxyPass /app ajp://localhost:8009/share ProxyPassReverse /app ajp://localhost:8009/share My ErrorDocument code is as below: ErrorDocument 404 /cah-404.html ErrorDocument 403 /cah-403.html Now if I go via browser to

oauth_proxy in front of kubernetes ingress showing error 403

我怕爱的太早我们不能终老 提交于 2021-01-29 09:44:32
问题 I am trying to secure my application exposed as LB using oauth2_proxy, I have created 2 ingress resources as required one for running the oauth2_proxy and another for accessing my application which is to be secured through authentication. Refer link [https://github.com/kubernetes/ingress-nginx/tree/master/docs/examples/auth/oauth-external-auth]. I have followed the exact process as mentioned in this link. When I hit my FQDN or Domain Name in browser it asks for authentication and upon

NGINX reverse proxy not working to other docker container

风格不统一 提交于 2021-01-29 09:28:08
问题 I have a setup with two docker containers in a docker compose. Now I want to use proxy_pass feature from nginx to proxy the connection from nginx to other container. docker compose version: '3.4' services: reverse_proxy: image: nginx:alpine volumes: - ./nginx.conf:/etc/nginx/nginx.conf - ./error.log:/var/log/nginx/error.log ports: - "8081:8081" apigateway.api: image: ${REGISTRY:-configurator}/apigateway.api:${TAG:-latest} build: context: . dockerfile: src/Services/ApiGateway/ApiGateway.Api

Socket.io events not received (nginx reverse proxy, server to client)

馋奶兔 提交于 2021-01-29 04:20:51
问题 I have a nodejs socket.io app running under nginx reverse proxy. My nginx configuration is as follows: location ~ ^/(online|socket\.io) { proxy_pass http://localhost:8888; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } This seems to work, and my nodejs app picks up the connection fine. On the server side socket.io I have the following: io.of('/online').on('connection',

How to successfully run node server with IIS?

一曲冷凌霜 提交于 2021-01-29 02:08:07
问题 So I have a web application with ISS-10 , running on wwww.mymindmapper.com and listening on port:80 . I have two simple pages ( login.html & register.html ). Here is what it looks like: https://imgur.com/a/gb9KAsj My main objective is to try and figure out how to create a Node JS server ( port: 81 ) with my webApp on IIS that is on port: 80 . Here is my app.js file: //USE `nodemon scripts/server.js` on Terminal to refresh Node Server on File Save. //USE 'pm2 start scripts/server.js' on

Spring cloud zuul does not load static resources from spring boot applications

对着背影说爱祢 提交于 2021-01-29 00:06:16
问题 I have a simple gateway that implemented with zuul as you can see below: application.properties file: zuul.routes.looli.url=http://localhost:8082 ribbon.eureka.enabled=false server.port=8070 RoutingAndFilteringGatewayApplication class: @EnableZuulProxy @SpringBootApplication public class RoutingAndFilteringGatewayApplication { public static void main(String[] args) { SpringApplication.run(RoutingAndFilteringGatewayApplication.class, args); } @Bean public SimpleFilter simpleFilter() { return

Spring cloud zuul does not load static resources from spring boot applications

那年仲夏 提交于 2021-01-28 23:57:16
问题 I have a simple gateway that implemented with zuul as you can see below: application.properties file: zuul.routes.looli.url=http://localhost:8082 ribbon.eureka.enabled=false server.port=8070 RoutingAndFilteringGatewayApplication class: @EnableZuulProxy @SpringBootApplication public class RoutingAndFilteringGatewayApplication { public static void main(String[] args) { SpringApplication.run(RoutingAndFilteringGatewayApplication.class, args); } @Bean public SimpleFilter simpleFilter() { return