#justnow.conf
ServerAdmin cyrilfatis@hotmail.com
ServerName justnow.app
ServerAlias www.justnow.app
DocumentRoot /var/www/html/justNowApp/build
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
ErrorLog /var/log/apache2/reacterror.log
# Possible values include: debug, info, notice, warn, error,
# crit, alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
RewriteCond %{SERVER_NAME} =www.justnow.app [OR]
RewriteCond %{SERVER_NAME} =justnow.app
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
#ekrak.Com (alias justnowapi)
# The ServerName directive sets the request scheme, hostname and port t$
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin cyrilfatis@hotmail.com
RewriteEngine On
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerAdmin cyrilfatis@hotmail.com
ServerName ekrak.com
ServerAlias www.ekrak.com
DocumentRoot /var/www/html/justnowApi/public
# Options Indexes FollowSymLinks
AllowOverride All
Require all granted