mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for ssl nginx config check
This commit is contained in:
parent
7020edc5e7
commit
555e64ac97
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -616,9 +616,9 @@ post '/settings/ssl' do
|
||||||
nginx_testfile.write %{
|
nginx_testfile.write %{
|
||||||
pid /tmp/throwaway.pid;
|
pid /tmp/throwaway.pid;
|
||||||
events {}
|
events {}
|
||||||
|
error_log /dev/null error;
|
||||||
http {
|
http {
|
||||||
access_log off;
|
access_log off;
|
||||||
error_log /dev/null error;
|
|
||||||
server {
|
server {
|
||||||
listen 60000 ssl;
|
listen 60000 ssl;
|
||||||
server_name #{current_site.domain} *.#{current_site.domain};
|
server_name #{current_site.domain} *.#{current_site.domain};
|
||||||
|
|
Loading…
Add table
Reference in a new issue