%PDF- %PDF-
Direktori : /etc/apache2/sites-enabled/ |
Current File : //etc/apache2/sites-enabled/takeaseat.co.uk.conf |
<VirtualHost takeaseat.eco-n-tech.co.uk:80> ServerAdmin webmaster@localhost ServerName takeaseat.eco-n-tech.co.uk # DocumentRoot /home/forge/takeaseat.eco-n-tech.co.uk # <Directory /home/forge/takeaseat.eco-n-tech.co.uk/> # Options Indexes FollowSymLinks # AllowOverride All # Require all granted # </Directory> # ProxyPass / http://localhost:3000/ # ProxyPass / http://127.0.0.1:3000/ # ProxyPassReverse / http://127.0.0.1:3000/ # ProxyPass / http://127.0.0.1:3000/ # ProxyPassReverse / http://127.0.0.1:3000/ # <Location "/"> # ProxyPreserveHost On # ProxyPass http://localhost:3000/ # ProxyPassReverse http://localhost:3000/ # </Location> # If you want to redirect HTTP to HTTPS, remove <Location> above and add Redirect: # Redirect permanent / https://subdomain.me.com/ #RewriteEngine on #RewriteCond %{SERVER_NAME} =takeaseat.eco-n-tech.co.uk #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] <FilesMatch \.php> # Apache 2.4.10+ can proxy to unix socket SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/" </FilesMatch> <Location "/"> ProxyPass "http://localhost:3000/" SetEnv proxy-sendchunks 1 SetEnv proxy-nokeepalive 1 SetEnv proxy-initial-not-pooled 1 </Location> # ProxyRequests off # <Proxy *> # Require all granted # </Proxy> # ProxyPreserveHost on # ProxyPass / http://localhost:3000/ retry=1 acquire=3000 timeout=3000 keepalive=off # ProxyPassReverse / http://localhost:3000/ # ProxyTimeout 3000 # ProxyVia full ProxyPass / http://localhost:3000/ ProxyPreserveHost On ProxyPass / http://localhost:3000/ # ProxyPassReverse / http://localhost:3000/ # RewriteEngine on # RewriteCond %{REQUEST_SCHEME}://%{SERVER_NAME} =http://takeaseat.eco-n-tech.co.uk # RewriteRule ^ https://takeaseat.eco-n-tech.co.uk%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>