Rename production deploy path to /var/www/html/obvody.
Co-authored-by: Cursor <cursoragent@cursor.com>master
parent
aa490e2ba0
commit
72cfee8666
|
|
@ -38,7 +38,7 @@ host('production')
|
||||||
->setPort(52222)
|
->setPort(52222)
|
||||||
->setRemoteUser('deploy')
|
->setRemoteUser('deploy')
|
||||||
->setSshMultiplexing(false) // Windows + ControlMaster = getsockname failed
|
->setSshMultiplexing(false) // Windows + ControlMaster = getsockname failed
|
||||||
->set('deploy_path', '/var/www/html/obvody.kmetix.cz')
|
->set('deploy_path', '/var/www/html/obvody')
|
||||||
->set('branch', 'master');
|
->set('branch', 'master');
|
||||||
|
|
||||||
desc('Vyčistí Nette temp cache v aktuální release');
|
desc('Vyčistí Nette temp cache v aktuální release');
|
||||||
|
|
|
||||||
|
|
@ -12,19 +12,19 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName obvody.kmetix.cz
|
ServerName obvody.kmetix.cz
|
||||||
|
|
||||||
DocumentRoot /var/www/html/obvody.kmetix.cz/current/www
|
DocumentRoot /var/www/html/obvody/current/www
|
||||||
|
|
||||||
<Directory /var/www/html/obvody.kmetix.cz/current/www>
|
<Directory /var/www/html/obvody/current/www>
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Require all granted
|
Require all granted
|
||||||
Options -Indexes +FollowSymLinks
|
Options -Indexes +FollowSymLinks
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# Zbytek projektu (app/, config/, vendor/, …) nesmí být webově dostupný.
|
# Zbytek projektu (app/, config/, vendor/, …) nesmí být webově dostupný.
|
||||||
<Directory /var/www/html/obvody.kmetix.cz/current>
|
<Directory /var/www/html/obvody/current>
|
||||||
Require all denied
|
Require all denied
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory /var/www/html/obvody.kmetix.cz/current/www>
|
<Directory /var/www/html/obvody/current/www>
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue