You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now edit the default nginx config and only replace the server_name for the ACME Chalange: vim /etc/nginx/sites-enabled/default
…
server_name grocy.example.com;
…
Run certbot and get a Cert with config changes for nginx.
Alter this we reedit the nginx default config for grocy: vim /etc/nginx/sites-enabled/default
server {
server_name grocy.example.com;
listen [::]:443 ssl ipv6only=on; # managed by Certbotssl_certificate /etc/letsencrypt/live/grocy.example.com/fullchain.pem; # managed by Certbotssl_certificate_key /etc/letsencrypt/live/grocy.example.com/privkey.pem; # managed by Certbotinclude /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbotssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbotroot /var/www/grocy/public;
location/ {
try_files$uri /index.php$is_args$query_string;
location ~* \.(php|inc)$ {
include fastcgi.conf;
fastcgi_pass unix:/run/php/php-fpm.sock;
fastcgi_index index.php;
fastcgi_intercept_errors on;
fastcgi_buffer_size16k;
fastcgi_buffers416k;
}
}
}
server {
if ($host = grocy.example.com) {
return301 https://$host$request_uri;
} # managed by Certbotlisten [::]:80 default_server;
server_name grocy.example.com;
return404; # managed by Certbot
}
Of course I can see the connection to the issue #1404 and therefore know that I should go to the SubReddit; But I openly admit that I am not willing to create an account on Reddit and there is also a discussion function on Github.
In addition, I have already tested many variants of the VHost Config and also tested several variations of BASE_PATH and BASE_URL; however, the error pattern has never changed.
Therefore I think it is also possible that there is a problem with the IPv6 only stack.
However, I could not find a logging function or anything like that in the configuration, so I don't know how I could debug this further.
The text was updated successfully, but these errors were encountered:
This is clearly a configuration issue and not a reproducible Grocy Bug, but this here is the tracker for such reproducible Bugs and Feature Requests and not your personal setup problems (README ref).
I also use a NGINX / PHP-FPM stack for Grocy and all of it's demo instances, serving daily more page views any private instance will see per year or so and it works more than fine - also leads to this can't be a bug in Grocy itself. Why not simply compare your stuff with the reference config I've published for everyone some time ago.
Of course I can see the connection to the issue #1404 and therefore know that I should go to the SubReddit
I openly admit that I find it frustrating that you're deliberately abusing this issue tracker and essentially wasting my time on a public holiday day by that, thank you.
Installation
Then:
vim data/config.php
Now edit the default nginx config and only replace the
server_name
for the ACME Chalange:vim /etc/nginx/sites-enabled/default
… server_name grocy.example.com; …
Run
certbot
and get a Cert with config changes for nginx.Alter this we reedit the nginx default config for grocy:
vim /etc/nginx/sites-enabled/default
nginx -t && nginx -s reload
When you now open the Site https://grocy.example.com you see the message
This page does not exist
and after 5 Sec, you are rewrite to https://grocy.example.com and again and again…Context
Of course I can see the connection to the issue #1404 and therefore know that I should go to the SubReddit; But I openly admit that I am not willing to create an account on Reddit and there is also a discussion function on Github.
In addition, I have already tested many variants of the VHost Config and also tested several variations of
BASE_PATH
andBASE_URL
; however, the error pattern has never changed.Therefore I think it is also possible that there is a problem with the IPv6 only stack.
However, I could not find a logging function or anything like that in the configuration, so I don't know how I could debug this further.
The text was updated successfully, but these errors were encountered: