Hello.
Im running flarum on unraid and trying to get it to work with SWAG from linuxserver (Link)
But i cannot figure out how to format the nginx conf file.
Hope someone can help me.
example of my file:
## Version 2021/05/18
server {
listen 443 ssl;
listen [::]:443 ssl;
root /var/www/flarum/public;
index index.php index.html index.htm;
server_name forum.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_app flarum;
set $upstream_port 443;
set $upstream_proto https;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}