# <VirtualHost *:443> # ServerAdmin webmaster@localhost # ServerName app.bayadic.com # ServerAlias www.app.bayadic.com # DocumentRoot /var/www/html/bayadic-app/prod/bayadic-v3/www # ErrorLog ${APACHE_LOG_DIR}/error.log # CustomLog ${APACHE_LOG_DIR}/access.log combined # #-SERVER-CONFIGURATION # RewriteEngine On # #-DIRECTORY-CONFIGURATION # <Directory "/var/www/html/bayadic-app/prod/bayadic-v3/www/"> # RewriteBase / # RewriteRule ^index\.html$ - [L] # RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule . /index.html [L] # Options Indexes FollowSymLinks # AllowOverride None # Require all granted # </Directory> # #ProxyPreserveHost On # # RewriteEngine on # # RewriteRule ^/(.*) http://127.0.0.1:8100/$1 [P,L] # </VirtualHost> # <VirtualHost *:80> # ServerAdmin webmaster@localhost # ServerName app.bayadic.com # ServerAlias www.app.bayadic.com # DocumentRoot /var/www/html/bayadic-app/prod/bayadic-v3/www # ErrorLog ${APACHE_LOG_DIR}/error.log # CustomLog ${APACHE_LOG_DIR}/access.log combined # #-SERVER-CONFIGURATION # RewriteEngine On # #-DIRECTORY-CONFIGURATION # <Directory "/var/www/html/bayadic-app/prod/bayadic-v3/www/"> # RewriteBase / # RewriteRule ^index\.html$ - [L] # RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule . /index.html [L] # Options Indexes FollowSymLinks # AllowOverride None # Require all granted # </Directory> # #ProxyPreserveHost On # # ProxyPass / http://localhost:8100 # #ProxyPassReverse / http://localhost:8100 # # ProxyPass "/" "http://127.0.0.1:8100" # #ProxyPassReverse "/" "http://127.0.0.1:8100" # # RewriteRule ^/(.*) http://127.0.0.1:8100/$1 [P,L] # </VirtualHost> <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName app.bayadic.com ServerAlias www.app.bayadic.com DocumentRoot /var/www/html/bayadic-app/prod/bayadic-v3/www ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # Rewrite rule to redirect HTTP to HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #-DIRECTORY-CONFIGURATION <Directory "/var/www/html/bayadic-app/prod/bayadic-v3/www/"> RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> </VirtualHost>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
000-default-le-ssl.conf | File | 2.56 KB | 0644 |
|
000-default.conf | File | 1.7 KB | 0644 |
|
app-dev.bayadic.com.conf | File | 954 B | 0644 |
|
app.bayadic.com.conf | File | 2.86 KB | 0644 |
|
bot.bayadic.com.conf | File | 893 B | 0644 |
|
botdev.bayadic.com.conf | File | 1.17 KB | 0644 |
|
botdev.bayadic.com.conf.y43xPu | File | 0 B | 0644 |
|
default-ssl.conf | File | 6.19 KB | 0644 |
|
dev-app.bayadic.com.conf | File | 1.57 KB | 0644 |
|
dev-app.bayadic.com.conf.save | File | 676 B | 0644 |
|
dict.bayadic.com.conf | File | 1.15 KB | 0644 |
|
diplom.help.conf | File | 1.94 KB | 0644 |
|
images-bot.bayadic.com.conf | File | 2.08 KB | 0644 |
|
sounds.bayadic.com.conf | File | 889 B | 0644 |
|