mail2 595 B

123456789101112131415161718192021
  1. server {
  2. listen 443 ssl http2; ## listen for ipv4; this line is default and implied
  3. include /etc/nginx/ssl;
  4. root /var/www/eba;
  5. server_name mail2.especificosba.com.ar;
  6. error_log /var/log/nginx/error.eba.log ;
  7. location / {
  8. proxy_set_header X-Real-IP $remote_addr;
  9. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  10. proxy_set_header Host $http_host;
  11. proxy_set_header X-NginX-Proxy true;
  12. proxy_pass http://localhost:33411;
  13. proxy_read_timeout 90;
  14. proxy_redirect http://localhost:33411 https://mail2.especificosba.com.ar;
  15. }
  16. }