first commit

This commit is contained in:
eric_G 2026-09-05 18:23:10 +02:00
commit 29217d93f5
21 changed files with 1177 additions and 0 deletions

4
conf/.env Normal file
View file

@ -0,0 +1,4 @@
ICAD_LOGIN=
ICAD_PASSWORD=
GEOCODER_EMAIL=contact@__DOMAIN__
APP_ENV=production

18
conf/nginx.conf Normal file
View file

@ -0,0 +1,18 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
root __INSTALL_DIR__/public;
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated PHP-FPM file
client_max_body_size 250M;
try_files $uri $uri/ /index.php?$query_string;
location ~ [^/]\.php(/|$) {
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock;
include fastcgi_params_no_auth;
}
}

16
conf/systemd.service Normal file
View file

@ -0,0 +1,16 @@
[Unit]
Description=Globinours demonstration server
After=network.target
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=__INSTALL_DIR__
ExecStart=/usr/bin/php -S 127.0.0.1:8091 -t public public/router.php
Restart=on-failure
PrivateTmp=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target