Outline ·
[ Standard ] ·
Linear+
Setting up proxy server for google service, apache setting
TSroimekoi
|
Jul 11 2017, 02:57 PM, updated 7y ago
|
|
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/sendCODE 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
|
Jul 14 2017, 07:51 AM
|
|
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/sendCODE 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?
|
|
|
|