I'm new to OpenWrt, and am loving it so far, but I've run into an issue that I cant seem to figure out.
I'm in the process of configuring nginx to act as a reverse proxy for some internal services. I've been editing /etc/config/nginx to set up the various directives that I need.
Everything was working fine for a while, but now I've run into an issue where running "uci commit" has stopped updating the nginx config file at /etc/nginx/uci.conf. I'm not sure if I'm just missing something, or if there's actually something wrong here.
It doesn't look like the uci command has any real debug functionality or produces a log file I can look at, so I'm at a loss as to how I can troubleshoot this. I've included my /etc/config/nginx file below.
config main 'global'
option uci_enable 'true'
config server 'luci'
option listen '443 ssl'
option server_name 'router.vockley.com'
list include 'restrict_locally'
list include 'conf.d/luci.locations'
option ssl_certificate '/etc/nginx/vockley.com.cer'
option ssl_certificate_key '/etc/nginx/vockley.com.key'
option ssl_session_cache 'shared:SSL:32k'
option ssl_session_timeout '64m'
option access_log 'off'
option error_log 'off'
option root '/www'
config server 'adguard'
option listen '443 ssl'
option server_name 'adguard.vockley.com'
list include 'restrict_locally'
list include 'conf.d/adguard.locations'
option ssl_certificate '/etc/nginx/vockley.com.cer'
option ssl_certificate_key '/etc/nginx/vockley.com.key'
option ssl_session_cache 'shared:SSL:32k'
option ssl_session_timeout '64m'
option access_log 'off'
option error_log 'off'
config server 'default_ssl'
option listen '443 ssl default_server'
option server_name 'default_ssl'
option return '444'
option include 'restrict_localy'
option ssl_certificate '/etc/nginx/vockley.com.cer'
option ssl_certificate_key '/etc/nginx/vockley.com.key'
option ssl_session_cache 'shared:SSL:32k'
option ssl_session_timeout '64m'
option access_log 'off'
option error_log 'off'
config server '_redirect2ssl'
option listen '80 default_server'
option server_name '_redirect2ssl'
option return '302 https://$host$request_uri'