Canned food/shelf very KISS management; Uses OpenFoodFacts as a product source.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

server {
listen 443;
listen [::]:443;
client_max_body_size 10M;
access_log /var/log/nginx/omnomnomnom.access.log;
error_log /var/log/nginx/omnomnomnom.error.log error;
ssl on;
ssl_certificate /srv/letsencrypt/certs/;
ssl_certificate_key /srv/letsencrypt/certs/;
add_header Strict-Transport-Security max-age=15768000;
location / {
index index.html index.htm;
root /home/omnomnomnom/omnomnomnom/front/dist;
location /api {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
proxy_redirect off;