forked from axiom-team/astroport
starwars lol www/oasis.conf
This commit is contained in:
parent
28f61cd2cb
commit
15c9f6eb4b
|
@ -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
|
||||
|
||||
|
|
Binary file not shown.
|
@ -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…
Reference in New Issue