0xJacky / nginx-ui

Yet another WebUI for Nginx
https://nginxui.com
GNU Affero General Public License v3.0
4k stars 311 forks source link

可以在網站設定nginx conf的位置嗎 #62

Closed jeromeleong closed 1 year ago

jeromeleong commented 1 year ago

我自行編譯及安裝nginx後, 發現其位置在/usr/local/nginx,而不是etc/nginx , 所以希望能自訂nginx conf的位置😔

0xJacky commented 1 year ago

https://github.com/0xJacky/nginx-ui/blob/41ced2ea05f188de573b8b39299db5b92e2f9449/server/pkg/nginx/nginx.go#L41-L56

是自動檢測的

jeromeleong commented 1 year ago
nginx version: nginx/1.23.4
built by gcc 12.2.0 (Ubuntu 12.2.0-3ubuntu1)
built with OpenSSL 3.0.7+quic 1 Nov 2022
TLS SNI support enabled
configure arguments: --with-openssl=../openssl-openssl-3.0.7-quic --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_dav_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_sub_module --with-mail --with-mail_ssl_module --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-pcre --with-stream --user=timo --with-http_mp4_module --with-http_auth_request_module --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-debug --with-http_v3_module --with-cc-opt=-I../quiche/deps/boringssl/include --with-ld-opt='-L../quiche/deps/boringssl/build/ssl -L../quiche/deps/boringssl/build/crypto' --add-module=../ngx_brotli --add-module=../nginx-http-flv-module --add-module=../ngx_waf

編譯時忘記了設定-conf-path🥲

0xJacky commented 1 year ago

下个版本加