name: Deployment with Apache
sort: 4
Apache deployment ve ayarları
Apache bir web sunucusudur. nginx gibi reverse proxy sunma, sunucudan backende istek gönderme gibi fonksiyonları vardır. Örnek bir konfigürasyon aşağıdaki gibidir :
NameVirtualHost *:80<VirtualHost *:80>ServerAdmin webmaster@dummy-host.example.comServerName www.a.comProxyRequests Off<Proxy *>Order deny,allowAllow from all</Proxy>ProxyPass / http://127.0.0.1:8080/ProxyPassReverse / http://127.0.0.1:8080/</VirtualHost><VirtualHost *:80>ServerAdmin webmaster@dummy-host.example.comServerName www.b.comProxyRequests Off<Proxy *>Order deny,allowAllow from all</Proxy>ProxyPass / http://127.0.0.1:8081/ProxyPassReverse / http://127.0.0.1:8081/</VirtualHost>
