Browse Source

starwars lol www/oasis.conf

pull/13/head
qo-op 8 months ago
parent
commit
15c9f6eb4b
4 changed files with 11166 additions and 2 deletions
  1. +11147
    -0
      REVE.sh
  2. +2
    -2
      cron_MINUTE.sh
  3. BIN
      doc/videos/starwars lol.mp4
  4. +17
    -0
      www/oasis.conf

+ 11147
- 0
REVE.sh
File diff suppressed because it is too large
View File


+ 2
- 2
cron_MINUTE.sh View File

@ -39,7 +39,6 @@ export isG1smsRunning=$(ps auxf --sort=+utime | grep -w gammu | grep -v -E 'colo
[[ ! $(echo $PATH | grep "~/.local/bin") ]] && export PATH="$PATH:~/.local/bin"
[[ ! $(echo $PATH | grep "/usr/games") ]] && export PATH="$PATH:/usr/games"
export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1);
export IPFSNODEID=$(ipfs id -f='<id>\n')
ipfsnodeid=$(ipfs id -f='<id>\n')
@ -54,7 +53,8 @@ timebar="$heure:$minute"
jourdelasemaine=$(date +%w)
jourdumois=$(date +%d)
numerosemaine=$(date +%V)
echo $timebar | lolcat
echo $timebar
# TIME NTP SYNC: TODO: Problem being root (stickybit INSTALL?)
# sudo ntpdate ntp.pool.org

BIN
doc/videos/starwars lol.mp4 View File


+ 17
- 0
www/oasis.conf View File

@ -0,0 +1,17 @@
server {
listen _PORT_;
listen [::]:_PORT_;
root /var/www/loveland/_APPLI_;
server_name _SERVERNAME_;
location / {
proxy_pass http://127.0.0.1:_LPORT_;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}

Loading…
Cancel
Save