notification is on top
This commit is contained in:
37
README.md
37
README.md
@@ -622,3 +622,40 @@ server {
|
|||||||
|
|
||||||
# Make site accessible from http://localhost/
|
# Make site accessible from http://localhost/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
default - dev server
|
||||||
|
|
||||||
|
upstream ribica_app {
|
||||||
|
server unix:///var/www/ribica/ribica_app.sock;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
listen [::]:80 default_server;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /var/www/ribica/front-ui/build;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /backoffice {
|
||||||
|
auth_basic "Restricted";
|
||||||
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
||||||
|
proxy_pass http://localhost:3000;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /api {
|
||||||
|
proxy_pass http://ribica_app;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
~
|
||||||
|
~
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
top: 1em;
|
top: 1em;
|
||||||
|
|||||||
Reference in New Issue
Block a user