Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Setting up proxy server for google service, apache setting

views
     
TSroimekoi
post Jul 11 2017, 02:57 PM, updated 7y ago

Casual
***
Junior Member
337 posts

Joined: Jul 2007
i have a webservice that will use external host in the internet,
however i do not have permission for the server to make direct connection with internet.
so i install a proxy server in between for communication.
it will return 404 , if i fire to http://127.0.0.1:8089/ from my webservice and from browser
but ok when i direct access https://fcm.googleapis.com/fcm/send


CODE

Below is the configuration
<VirtualHost *:8089>
ServerName 127.0.0.1
       SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPreserveHost On
ProxyPass / https://fcm.googleapis.com/fcm/send
ProxyPassReverse / https://fcm.googleapis.com/fcm/send
</VirtualHost>


biatche
post Jul 14 2017, 07:51 AM

Regular
******
Senior Member
1,564 posts

Joined: Jan 2003
QUOTE(roimekoi @ Jul 11 2017, 02:57 PM)
i have a webservice that will use external host in the internet,
however i do not have permission for the server to make direct connection with internet.
so i install a proxy server in between for communication.
it will return 404 , if i fire to http://127.0.0.1:8089/  from my webservice and from browser
but ok when i direct access https://fcm.googleapis.com/fcm/send
CODE

Below is the configuration
<VirtualHost *:8089>
ServerName 127.0.0.1
       SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPreserveHost On
ProxyPass / https://fcm.googleapis.com/fcm/send
ProxyPassReverse / https://fcm.googleapis.com/fcm/send
</VirtualHost>

*
use vpn or a ssh tunnel instead?

 

Change to:
| Lo-Fi Version
0.0134sec    0.52    5 queries    GZIP Disabled
Time is now: 30th March 2024 - 12:03 AM