Skip to content

Commit 7947c10

Browse files
committed
Hardening FPM Configuration, thanks to alephlg (https://forum.vestacp.com/viewtopic.php?f=16&p=74389)
1 parent 0df6a43 commit 7947c10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/deb/php/php-fpm.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ env[VESTA] = $HESTIA
2626
env[LANG] = en_US.UTF-8
2727
php_flag[display_errors] = off
2828
php_admin_flag[log_errors] = on
29+
php_admin_flag[session.cookie_httponly] = on
30+
php_admin_flag[session.cookie_secure] = on
2931
php_admin_value[memory_limit] = 256M
3032
php_admin_value[post_max_size] = 512M
3133
php_admin_value[upload_max_filesize] = 512M

0 commit comments

Comments
 (0)