reverse-proxy

How to reverse proxy a TFS server

╄→гoц情女王★ 提交于 2021-02-18 18:16:27
问题 We're using a TFS server 2017 update 2 in our local office. But we need access the server at home, we tried to use nginx for build a reverse proxy to access TFS server, but failed. Also the Apache haven't ability to do that to pass the NTLM authorization of TFS. Do someone know how to do that? 回答1: Both nginx and Apache server can't handle NTLM authentication properly. Even if use "stream" server in nginx, it still throw exceptions at times. So the best way that I've found is to write a pure

Reverse proxy from nginx to squid

我怕爱的太早我们不能终老 提交于 2021-02-17 20:49:49
问题 Similar to this, I am trying to host a squid proxy behind nginx: example.com - the main site relay.example.com - the squid server. So far, when I try to use the squid proxy, it will complain about accessing an illegal page, for example, if I try to access http://www.google.com , I get an Invalid URL error saying that the URL /http://www.google.com (note the preceding /). Could anyone suggest why this is happening, or a fix for nginx or perhaps in the squid config? upstream @squid { server

Reverse proxy from nginx to squid

六眼飞鱼酱① 提交于 2021-02-17 20:49:05
问题 Similar to this, I am trying to host a squid proxy behind nginx: example.com - the main site relay.example.com - the squid server. So far, when I try to use the squid proxy, it will complain about accessing an illegal page, for example, if I try to access http://www.google.com , I get an Invalid URL error saying that the URL /http://www.google.com (note the preceding /). Could anyone suggest why this is happening, or a fix for nginx or perhaps in the squid config? upstream @squid { server

Apache HTTPD: How to setup Virtual Host correctly

夙愿已清 提交于 2021-02-11 18:23:55
问题 I've installed Apache httpd on my Mac and "It works". Now I need to configure a Virtual Host in order to expose my application (Java Spring) with httpd as reverse proxy in front of it. This is what I have into /usr/local/etc/httpd/extra/httpd-vhosts.conf file <VirtualHost *:443> ServerName my.domain.it:443 SSLEngine on SSLCertificateFile /path/to/cert.crt SSLCertificateKeyFile /path/to/cert.key ProxyPreserveHost On ProxyPass / http://localhost:8080/myapp ProxyPassReverse / http://localhost

Traefik dashboard only on the http port

♀尐吖头ヾ 提交于 2021-02-10 22:17:28
问题 I am trying to expose my docker services (like Heimdall, Plex, Tautulli, etc) on my host machines IP for internal purposes only, so without a domain name. I want each service to be accessible ith its own prefix like 192.168.0.100/heimdall, 192.168.0.100/tautulli, etc. I would like to have the dashboard on a separate port, like 8080, but even after I specify an entry point for 8080 as traefik and set traefik as the entry point for the service it still goes to the port 80 named http. Is there

Artifactory 7.x behind nginx issue

浪子不回头ぞ 提交于 2021-02-10 17:50:54
问题 I have a fresh installation of Artifactory 7.2.1(docker based)which is working fine, but I want to access it via nginx proxy, and that's not working. my artifactory is running under http://192.168.211.207:8082/ Custom base URL is set to: http://192.168.211.207:8081/artifactory ->which is redirecting me to http://192.168.211.207:8082/ Now, I have an nginx server which is running on the same server, also via docker. When I try to access: http://192.168.211.207 -> redirects me to https://192.168

Artifactory 7.x behind nginx issue

走远了吗. 提交于 2021-02-10 17:47:06
问题 I have a fresh installation of Artifactory 7.2.1(docker based)which is working fine, but I want to access it via nginx proxy, and that's not working. my artifactory is running under http://192.168.211.207:8082/ Custom base URL is set to: http://192.168.211.207:8081/artifactory ->which is redirecting me to http://192.168.211.207:8082/ Now, I have an nginx server which is running on the same server, also via docker. When I try to access: http://192.168.211.207 -> redirects me to https://192.168

Configure NGINX reverse proxy with browser WebSocket and docker-compose

大兔子大兔子 提交于 2021-02-08 08:20:34
问题 I am trying to get nginx to proxy a websocket connection to a backend server. All services linked via docker-compose. When i create the WebSocket object in my frontend react app: let socket = new WebSocket(`ws://engine/socket`) I get the following error: WebSocket connection to 'ws://engine/socket' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED I believe the problem comes from converting ws:// to http:// and that my nginx configuration does not seem to be pick up the

Nginx reverse proxy configuration

送分小仙女□ 提交于 2021-02-07 20:39:18
问题 I need nginx to reverse- proxy GET and POST requests of the form: /myapp/path/to/resource to: http://127.0.0.1:9090/path/to/resource I'm trying the following: location /myapp/(.*) { rewrite $1; proxy_pass http://127.0.0.1:9090; } but nginx is returning a HTTP 405 error [not allowed]. Any ideas on how to fix this ? Thanks. 回答1: You don't actually need to do a rewrite. You can achieve the same end with the following: location /myapp/ { proxy_pass http://127.0.0.1:9090/; } 来源: https:/

CloudFront -> S3 for static or API Gateway with multiple dynamic backends in ECS

旧街凉风 提交于 2021-02-07 18:42:54
问题 I need to implement a reverse proxy/redirect service for site which will be hosted in AWS S3 (static JS assets) + CloudFront and multiple backends running as different tasks AWS ECS available at domain.com/api/session_number Redirect or reverse proxy service should analyze input parameter and redirect to corresponding backend. So far I've found ECS-nginx-proxy but it looks more like the tool for dev/stage environments. How such service can be implemented for production using AWS services like