| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/apache2/sites-enabled/ |
Upload File : |
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName shopify.demandtech.org
# --- IMPROVED PROXY CONFIGURATION START ---
ProxyPreserveHost On
# Increase timeout to prevent 502 errors during slow initialization
ProxyTimeout 300
# This directive is necessary to grant access to the backend server.
<Proxy http://127.0.0.1:5000/>
Require all granted
</Proxy>
# Forwarding traffic to the app on port 5000
ProxyPass / http://127.0.0.1:5000/
ProxyPassReverse / http://127.0.0.1:5000/
# --- IMPROVED PROXY CONFIGURATION END ---
# Basic security headers (optional, good practice)
#Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
# Logs
ErrorLog ${APACHE_LOG_DIR}/shopifyapp_error.log
CustomLog ${APACHE_LOG_DIR}/shopifyapp_access.log combined
# SSL Configuration (as provided by you and Certbot)
SSLCertificateFile /etc/letsencrypt/live/shopify.demandtech.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/shopify.demandtech.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>