Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [proxy]

The tag has no usage guidance.

2
votes
0answers
15 views

Module Uninstall Validators and Lazy Services

I have recently been working on creating functionality for a module that requires certain content related to the module be deleted before the module itself can be uninstalled. https://www.drupal.org/...
0
votes
0answers
25 views

Proxy Subdomain and Base URL Problem For Multiple Sites

I have a proxy server that I need to set up to point to different application servers hosting Drupal sites depending on the path visited or on the subdomain. Say www.alpha.com is my default site ...
0
votes
0answers
15 views

Access denied while using IPv6

I have a drupal 8 setup running behind an HTTP proxy(mod_proxy). The proxy server is working on an IPv4 IP, and the back-end server is working on IPv6. I was able to connect to drupal via browser. ...
0
votes
2answers
46 views

Where to use setTrustedProxies() or how to set new trusted proxies

I need to set a trusted proxy in my installation so that secure cookie flags are set correctly. Currently as a temporary measure i am setting the following in index.php $proxies = ['122.128.0.1']; ...
0
votes
0answers
39 views

How to fix canonical http due to proxy (should be https)

I am aware of the reverse_proxy settings; however, I have seen different methods of fixing the problem - none seem definitive. One method (which doesn't seem to work for me) says to set the reverse ...
1
vote
0answers
67 views

drupal 8 Restore client's original IP address from apache behind nginx

Is there any simple method can i restore client's original IP address behind nginx? i've tried to add the following code in settings.php, but not work $settings['reverse_proxy'] = TRUE; if (isset($...
1
vote
0answers
67 views

How do I get flood control to respect X-Forwarded-For? [duplicate]

We're using JWilder's excellent dockergen switchboard to proxy vhosts on our main server. Like most nginx proxies, it sets an X-Forwarded-For header but it can't mask it's own IP address on each ...
0
votes
1answer
240 views

How to configure drush with Acquia DevDesktop on Windows to access through proxy?

There are some answers to similar questions using WAMP, but now drush is not recommended under Windows (unless using DevDesktop, which I am). And this is seriously frustrating. I followed the ...
0
votes
1answer
791 views

Site behind a reverse proxy - subfolder

We are using a public apache web server as a reverse proxy for to show a drupal instance (to the client). The website should come up in http://publicSite/path The Reverse proxy contains basic apache ...
1
vote
0answers
58 views

Possible Cross Domain Proxy Issues

My drupalgap app works fine in ripple emulator when I disable the cross domain proxy options. However, when I compile the app and pull out the debug apk and run the app on emulator the main menu and ...
1
vote
0answers
72 views

Installation through proxy

I am using Drupal 7 and need to make the installer work through a proxy. I can access the installation through my proxy at https://my.proxy/install.php?profile=myprofile&locale=en, but the JS and ...
0
votes
0answers
662 views

trusted_host_patterns behind reverse_proxy

I'm trying to run Drupal 8.0.5 on Apache 2.4 behind an Nginx reverse proxy (both on the same host). However, I'm running into problems w.r.t. trusted_host_patterns, i.e. I'm getting The provided host ...
4
votes
3answers
7k views

How to correctly configure settings.php to use reverse proxy and ssl termination

In settings.php there is the section "Reverse Proxy Configuration". It suggests settings to add when you are using a reverse proxy and SSL termination. Nginx is listening on port 443, adds the ...
2
votes
0answers
2k views

Changing proxy settings and making them effective

I'm running a Drupal training course at work. For the exercises I've set up an Ubuntu Server VM (with Unity GUI) using VirtualBox. This allows me to port the VM around between my home workstation (...
1
vote
1answer
1k views

How to use drush with proxy [closed]

I am using Acquia Dev Desktop 2 for my Drupal 8 project, I tried to download module with Drush. But I can only access the internet via a proxy. How can I configure drush to use the correct http proxy ...
4
votes
1answer
640 views

Multiple login attempts from different IP Addresses

My website has been getting about 25 login attempts per hour for the past few days for usernames admin, administrator and our website name. The attacker seems to be using differing IP addresses and ...
1
vote
2answers
488 views

drupal behind reverse proxy

I have multiple drupal instance behind f5 load balancer. If I use it as http, that is ok. But if I want to use http and https and ofload https on the LB. All css,js links in https site comes as http ...
1
vote
0answers
298 views

S3fs redirect aggregated file to s3 failed

I follow the s3fs's readme to redirect aggregated files. It didn't work. Got 403 error in the nginx access log. Here is my nginx conf. location ~* ^/(s3fs-css|s3fs-js)/(.*) { set $s3 '*.s3....
0
votes
1answer
609 views

Proxying a subdirectory to a remote Drupal site

The goal Make all requests to a previously static page at https://www.example.com/sub/folder on server 1 (Proxy) ACTUALLY go to a Drupal site at https://other.example.com on server 2 (Origin) This ...
1
vote
0answers
871 views

How to solve AJAX problems with reverse proxy?

We have a server running AEGIR to manage our sites. The back-end server is setup to serve pages in HTTP. Our sites are published through a reverse proxy (Forefront) serving pages in HTTPS to the ...
0
votes
1answer
62 views

Drupal and apache rewrites

I'm just migrating a site that has a proxy pass in the vhost config like the following. ProxyPass /n/ http://xxx.xxx.xxx.xx:80/n/ ProxyPassReverse /n/ http://xxx.xxx.xxx.xx:80/n/ I need to replicate ...
0
votes
1answer
142 views

Using computer's proxy settings

Currently I'm manually putting my local environment proxy settings in my settings.php file like so: $conf['proxy_server'] = '192....'; $conf['proxy_port'] = ####; $conf['proxy_username'] = '...
0
votes
1answer
332 views

Drush Hangs on wget but wget Works

Every drush command I run hangs on wget. However, if I run wget outside of drush, it works just fine. I am behind an http proxy and suspect that's factoring into the problem. I don't understand why ...
0
votes
1answer
897 views

Drupal not able to make any outgoing HTTP requests

So, my drupal setup is on a NAS architecture. It's a portal for a college department and is hosted on the campus NAS. This basically means that my web server has to connect through an internal proxy ...
6
votes
1answer
7k views

Drupal behind a SSL offloading reverse proxy — is this config correct?

We are transitioning an existing drupal installation to run as a SSL-only site behind a SSL offloading proxy. Drupal itself has no SSL and is running on port 80 on apache. We've got what we think is ...
0
votes
1answer
768 views

Gateway timeout error from proxy server

I was recently developed a drupal site for a client who lives in HongKong. The site worked perfectly (is still functional when I access it) But after deploying it for demo, the client compalained that ...
3
votes
1answer
806 views

Flood table not respecting X_FORWARDED_FOR [closed]

The flood table IPs are listing the IP of the load balancer, not the one of the request, which is in the X_FORWARDED_FOR header. I have the 'reverse_proxy' set to TRUE in setting.php, and it works ...
1
vote
0answers
296 views

BASE_URL setting for a proxied sites

for a Drupal7 document root which is served though a reverse proxy such as http://www.example.com/info, then the site should have a $BASE_URL setting of http://www.example.com/info, and that should ...
1
vote
1answer
155 views

Proxy problems with Drupal 7.20

I have an installation of Drupal 7.20. I've entered the proxy settings in the default.settings.php but it's still unable to check on updates. A simple test with a dummy page which executes http://...
5
votes
1answer
820 views

How to configure settings.php for Drupal site with Varnish and CDN?

I am completely new to the back-end issues, so I would appreciate any detailed answers with explanation. We need to configure our settings.php file so that it works with Varnish and CDN. Currently, ...
2
votes
0answers
118 views

What is needed to support NTLM proxy in the Google Analytics Reporting module

I applied patches to support proxy for the Google Analytics Reporting module. But as per issue 1801996, it is confirmed that the proxy patch is not applicable for NTLM proxies. Please advise how much ...
3
votes
1answer
445 views

How do I change the global site url when serving Drupal from behind a reverse proxy?

I want the site name to be the FQDN instead of the machine's internal name (ie: localhost), especially in tokens. I'd like to be able to change the value once (like say in an env var) so it shows up ...
9
votes
4answers
9k views

Update status behind a proxy

I'm running Drupal in an intranet which is behind a simple HTTP proxy. I'd like for the module and core update checks to actually work. I seem to remember there was a core hack to do this on Drupal 6,...