Skip to content

Instantly share code, notes, and snippets.

View dottwatson's full-sized avatar

Mirko Temperini dottwatson

View GitHub Profile
@dottwatson
dottwatson / gist:299fedfa74b8fa131d0366888291f4cd
Created December 14, 2025 21:57
enable Laravel Vite in HestiaCP with Apache2 + Proxy Nginx , over HTTPS and VsCode connected in SSH
Step 1
open your nginx file in /home/%user%/conf/web/application.o%domain%/nginx.ssl.conf
and comment line
proxy_hide_header Upgrade;
Step 2
Creta the file /home/%user%/conf/web/%domain%/nginx.ssl.conf_vite and paste this code
@dottwatson
dottwatson / mysql_query_log.md
Created May 24, 2024 07:31 — forked from joseluisq/mysql_query_log.md
How to enable the MySQL/MariaDB general query logs

How to enable the MySQL/MariaDB general query logs

  1. Enter to MySQL/MariaDB server command-line tool (change root with your username and password):
mysql -u root -proot
  1. Set the general log file path:
SET GLOBAL general_log_file='/var/log/mysql/mycustom.log';