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)
|
||||
->setRemoteUser('deploy')
|
||||
->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');
|
||||
|
||||
desc('Vyčistí Nette temp cache v aktuální release');
|
||||
|
|
|
|||
|
|
@ -12,19 +12,19 @@
|
|||
<VirtualHost *:80>
|
||||
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
|
||||
Require all granted
|
||||
Options -Indexes +FollowSymLinks
|
||||
</Directory>
|
||||
|
||||
# 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
|
||||
</Directory>
|
||||
<Directory /var/www/html/obvody.kmetix.cz/current/www>
|
||||
<Directory /var/www/html/obvody/current/www>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue