Awesome q2a theme

How to configure NGINX for full proxy of the other domain?

0 like 0 dislike
32 views
Hello friends,

the challenge trail. There is a (sub)domain mail.mydomain.com and VPS, you Need to make when opening the address mail.mydomain.com the page that opens gmail.com. While all worked well, including JavaScript, sent mail, etc. But in this case, any URL started with mail.mydomain.com without going to gmail.com. Options web proxy or ssh channel does not offer.

thank you, Vadim
by | 32 views

2 Answers

0 like 0 dislike
Buy Gmail for your domain: https://gsuite.google.ru/intl/ru/products/gmail/
All other schemes already semi-criminal.
by
0 like 0 dislike
Create your DNS, they prescribe gmail.com on their address (or use your hosts OS). In NGINXе create your virtual resource which is waiting for gmail.com in header:host.
Profit.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users