This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="loading-screen" class="hidden w-full h-full fixed block top-0 left-0 bg-white opacity-75 z-50"> | |
<span class="text-green-500 opacity-75 top-1/2 my-0 mx-auto block relative w-0 h-0"> | |
<i class="fas fa-circle-notch fa-spin fa-5x"></i> | |
</span> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; supervisor config file | |
[unix_http_server] | |
file=/var/run/supervisor.sock ; (the path to the socket file) | |
chmod=0700 ; sockef file mode (default 0700) | |
[supervisord] | |
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log) | |
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) | |
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Supervisor daemon | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/supervisord -n -c /etc/supervisor/supervisord.conf | |
ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown | |
ExecReload=/usr/local/bin/supervisorctl $OPTIONS reload | |
KillMode=process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# PHP-FPM | |
## | |
upstream php { | |
server unix:/run/php/php7.3-fpm.sock; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=The CloudWatch Logs agent | |
After=rc-local.service | |
[Service] | |
Type=simple | |
Restart=always | |
KillMode=process | |
TimeoutSec=infinity | |
PIDFile=/var/awslogs/state/awslogs.pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[/var/log/mail.log] | |
datetime_format = %b %d %H:%M:%S | |
file = /var/log/mail.log | |
buffer_duration = 5000 | |
log_stream_name = {hostname} | |
initial_position = start_of_file | |
log_group_name = /var/log/mail.log | |
[/var/log/auth.log] | |
datetime_format = %b %d %H:%M:%S | |
file = /var/log/auth.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# PHP-FPM | |
## | |
upstream php { | |
server 127.0.0.1:7777; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--ignore-ack-defaults | |
# This is the default ackrc for ack version 2.14. | |
# There are four different ways to match | |
# | |
# is: Match the filename exactly | |
# | |
# ext: Match the extension of the filename exactly | |
# | |
# match: Match the filename against a Perl regular expression |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name db; | |
root /usr/share/phpmyadmin; | |
index index.php; | |
access_log off; | |
error_log /var/log/nginx/db.error.log error; | |
error_log /var/log/nginx/db.debug.log debug; |
NewerOlder