23 lines
675 B
Plaintext
23 lines
675 B
Plaintext
|
|
<VirtualHost 65.108.222.97:443>
|
||
|
|
ServerName api.gruppomacro.app
|
||
|
|
ServerAdmin surya@riso.app
|
||
|
|
|
||
|
|
SSLEngine On
|
||
|
|
SSLCertificateFile /etc/letsencrypt/live/gruppomacro.app/cert.pem
|
||
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/gruppomacro.app/privkey.pem
|
||
|
|
|
||
|
|
ProxyPass / https://localhost:3010/ retry=0 timeout=5 connectiontimeout=2
|
||
|
|
ProxyPassReverse / https://localhost:3010/
|
||
|
|
|
||
|
|
ProxyTimeout 5
|
||
|
|
|
||
|
|
LogLevel debug proxy:trace5
|
||
|
|
ErrorLog "/var/customers/logs/paolouser-error.log"
|
||
|
|
CustomLog "/var/customers/logs/paolouser-access.log" combined
|
||
|
|
|
||
|
|
<Location />
|
||
|
|
ProxyPassReverse /
|
||
|
|
SetEnv force-proxy-request-1.0 1
|
||
|
|
SetEnv proxy-nokeepalive 1
|
||
|
|
</Location>
|
||
|
|
</VirtualHost>
|