rename nginx

This commit is contained in:
2023-06-30 09:53:48 +02:00
parent 8e41a16dcf
commit 7ee7712a89
7 changed files with 558 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
Package: tooloop-nginx
Version: 1.0.0
Maintainer: Tooloop Multimedia
Homepage: https://www.tooloop.de
Section: tooloop/addon
Architecture: amd64
Name: nginx Webserver
Depends: nginx, php-fpm, php-mbstring, php-curl, php-xml, php-gd
Recommends: tooloop-transparent-cursor
Description: Installs the nginx webserver for web-based presentations
[nginx](https://nginx.org) is a fast and lightweight webserver.
.
The document root for your website is ```/assets/data```, log files are stored
in ```/assets/logs```.</br>
Use this URL in your kiosk application ```http://127.0.0.1:8080```.
Thumbnail: nginx-thumbnail.png
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# set -e
# usermod -a -G tooloop www-data
ln -s /etc/nginx/sites-available/tooloop /etc/nginx/sites-enabled/
sudo unlink /etc/nginx/sites-enabled/default
systemctl restart nginx
# exit 0
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# set -e
systemctl stop nginx
systemctl disable nginx
rm -f /etc/nginx/sites-enabled/tooloop
rm -f /assets/logs/access.log
rm -f /assets/logs/error.log
# exit 0