Taner KARAGÖL
2017-01-26 05:34:56 UTC
Merhaba;
Firmamýzda internete çýkýþ için Proxy (nginx deðil) kullanýlmakta.
Nginx ile bazý denemeler yapmak istiyorum ama nginx'in de herkes gibi internete çýkabilmesi için Proxy kullanmasý gerekiyor. Bu duruma sanýrým "chained Proxy" denilebilir.
Nginx configleri nasýl olmalý ki Proxy kullanarak internete çýkabilsin.
Örneðin bir Centos reposu için aþaðýdaki konfig ile reverse Proxy güzelce çalýþmakta (nginx direk internet çýkýþý var ise çalýþýyor):
server {
listen 80;
server_name *.company.com;
location /CentOS/7.2.1511/x86_64 {
proxy_pass http://mirror.centos.org/CentOS/7.2.1511/os/x86_64/;
}
}
Ama nginx direk internet çýkýþý olmadýðýndan dolayý yukarýdaki konfig çalýþmýyor. Bir þekilde proxy'den çýkmasýný saðlamak lazým.
######################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi
gorusu olmak zorunda degildir.
######################################################################
Attention:
This e-mail message is privileged and confidential. If you are
not the intended recipient please delete the message and notify
the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices.
Any views or opinions presented are solely those of the author and
do not necessarily represent the views of the company.
######################################################################
Firmamýzda internete çýkýþ için Proxy (nginx deðil) kullanýlmakta.
Nginx ile bazý denemeler yapmak istiyorum ama nginx'in de herkes gibi internete çýkabilmesi için Proxy kullanmasý gerekiyor. Bu duruma sanýrým "chained Proxy" denilebilir.
Nginx configleri nasýl olmalý ki Proxy kullanarak internete çýkabilsin.
Örneðin bir Centos reposu için aþaðýdaki konfig ile reverse Proxy güzelce çalýþmakta (nginx direk internet çýkýþý var ise çalýþýyor):
server {
listen 80;
server_name *.company.com;
location /CentOS/7.2.1511/x86_64 {
proxy_pass http://mirror.centos.org/CentOS/7.2.1511/os/x86_64/;
}
}
Ama nginx direk internet çýkýþý olmadýðýndan dolayý yukarýdaki konfig çalýþmýyor. Bir þekilde proxy'den çýkmasýný saðlamak lazým.
######################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi
gorusu olmak zorunda degildir.
######################################################################
Attention:
This e-mail message is privileged and confidential. If you are
not the intended recipient please delete the message and notify
the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices.
Any views or opinions presented are solely those of the author and
do not necessarily represent the views of the company.
######################################################################