reverse-proxy

Gitlab 5.3 behind nginx reverse proxy

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-01 18:54:11
问题 I have a successful Gitlab 5.3 install and everything works well. I want to run the server behind a nginx reverse proxy which I manage to do, but all the assets are missing: I have Gitlab running on /git and here is my nginx config on my reverse proxy server: server { listen 80 default; listen [::]:80 ipv6only=on default; server_name reverseproxy; ## redirect http to https rewrite ^ https://$server_name$request_uri? permanent; } server { access_log /var/log/nginx/ssl_access.log; error_log

ASP.Net Core Reverse Proxy with different root

一笑奈何 提交于 2020-01-01 09:42:39
问题 I am having problems proxying an ASP.NET Core MVC app. My app is running on Kestrel on localhost:5000 and my Apache 2.4 reverse proxy is running on localhost:80 . I want to proxy all requests from localhost:80/test to localhost:5000 Here is the httpd.conf part for the proxy: ... <Location "/test"> ProxyPass "http://localhost:5000" ProxyPassReverse "http://localhost:5000" </Location> ... The proxy works, however all links are broken. Like if I have an anchor that links to a controller named

ASP.Net Core Reverse Proxy with different root

那年仲夏 提交于 2020-01-01 09:41:53
问题 I am having problems proxying an ASP.NET Core MVC app. My app is running on Kestrel on localhost:5000 and my Apache 2.4 reverse proxy is running on localhost:80 . I want to proxy all requests from localhost:80/test to localhost:5000 Here is the httpd.conf part for the proxy: ... <Location "/test"> ProxyPass "http://localhost:5000" ProxyPassReverse "http://localhost:5000" </Location> ... The proxy works, however all links are broken. Like if I have an anchor that links to a controller named

Thin + Nginx + Websockets configurations | Rails

可紊 提交于 2020-01-01 05:13:10
问题 I have a Ruby on Rails 3.2 app with the websocket-rails gem, running in a thin webserver behind a nginx reverse proxy. Except for the nginx reverse proxy, everything works just fine. By removing the nginx reverse proxy, the websocket communication works just fine. (both development and production). Using nginx as a reverse proxy for the websockets is where the problem starts. Nginx version 1.3.13 and up should be able to support websocket proxying. Based on the docs here and here I created

Varnish and ESI, how is the performance?

喜夏-厌秋 提交于 2020-01-01 04:44:06
问题 Im wondering how the performance of th ESI module is nowadays? I've read some posts on the web that ESI performance on varnish were actually slower than the real thing. Say i had a page with over 3500 esi includes, how would this perform? is esi designed for such usage? 回答1: We're using Varnish and ESI to embed sub-documents into JSON documents. Basically a response from our app-server looks like this: [ <esi:include src="/station/best_of_80s" />, <esi:include src="/station/herrmerktradio" />

IIS7 and ARR as reverse proxy for Subversion

折月煮酒 提交于 2019-12-31 13:48:48
问题 I am using IIS7 and the Application Request Routing extension to act as a reverse proxy to Subversion running on Apache. The proxy works fine and I am able to explore the server, and even perform a "check out". However, I cannot browse to files that would normally be forbidden by ASP.NET - for example, .cs, .csproj, and so on. Files ASP.NET wouldn't be concerned with - such as .txt - are fine. I tried to edit the global web.config to remove the Forbidden handler mapping for these files, but

Python-Twisted: Reverse Proxy to HTTPS API: Could not connect

三世轮回 提交于 2019-12-31 03:00:50
问题 I am trying to build a reverse-proxy to talk to certain APIs(like Twitter, Github, Instagram) that I can then call with my reverse-proxy to any (client) applications I want (think of it like an API-manager). Also, I am using an LXC-container to do this. For example, here is the simplest of code that I hacked from the examples on the Twisted Docs: from twisted.internet import reactor from twisted.web import proxy, server from twisted.python.log import startLogging from sys import stdout

How to run nodejs application in apache server

﹥>﹥吖頭↗ 提交于 2019-12-30 01:35:08
问题 I would like to run my nodejs application via subdomain on apache server. I created subdomain of primary domain in cpanel. My project having more than 3 subdomains and all subdomains points different nodejs application. Subdomain redirects me in proper folder but when I run an application via subdomain in browser, it does not run node application on apache server. It displays folder lists of project only. I refer following link for reference. http://www.codingtricks.biz/run-nodejs-application

Websockets reverse proxy in IIS 8

佐手、 提交于 2019-12-28 05:42:28
问题 I'm attempting to connect to a websockets server (websockify) through a reverse proxy on IIS. The IIS and websockets server reside on the same physical server (Windows Server 2012 R2, IIS 8.5, ARR 3, Websockets enabled). I've seen a few questions about this and it's suggested this should work with IIS 8 and ARR 3, but no actual solutions as yet. I have some experience with http/https reverse proxies in IIS, but this is my first attempt working with websockets. For example: The original url:

nginx - read custom header from upstream server

拥有回忆 提交于 2019-12-28 04:51:26
问题 I am using nginx as a reverse proxy and trying to read a custom header from the response of an upstream server (Apache) without success. The Apache response is the following: HTTP/1.0 200 OK Date: Fri, 14 Sep 2012 20:18:29 GMT Server: Apache/2.2.17 (Ubuntu) X-Powered-By: PHP/5.3.5-1ubuntu7.10 Connection: close Content-Type: application/json; charset=UTF-8 My-custom-header: 1 I want to read the value from My-custom-header and use it in a if clause: location / { // ... // get My-custom-header