Hi,
​
we have a button on our website that opens a popup window where you can login into the webshop. The webshop sits behind a proxy and I’ve been told I need to set up a proxy and have been given the following piece of code:
location /shop {
proxy_pass http://ipaddress:port/shop;
proxy_http_version 1.1; proxy_intercept_errors off; proxy_cache off; }
I’ve googled a bit and only found how to set up a proxy for the whole site, like this:
define(‘WP_PROXY_HOST’, ‘192.168.0.1’);
define(‘WP_PROXY_PORT’, ‘3128’);
define(‘WP_PROXY_USERNAME’, ”);
define(‘WP_PROXY_PASSWORD’, ”);
define(‘WP_PROXY_BYPASS_HOSTS’, ‘localhost’);
Which I think is not what I need. Where do I paste that proxy connector? Into the pop-up window settings? wp-config.php? The pop-up window was created with the “Popup Maker” addon.
​
Thank you!
[ad_2]