Nginx reverse proxy issue on

solid is running on port 8443.
I have used the following sites-available/default (as in

# Nginx configuration

## Redirects all HTTP traffic to the HTTPS host
server {
  ## In case of conflict, either remove "default_server" from the listen line below,
  ## or delete the /etc/nginx/sites-enabled/default file.
  listen [::]:80;
  server_tokens off; ## Don't show the nginx version number, a security best practice
  return 301 https://$http_host$request_uri;
  access_log  /var/log/nginx/solid_access.log;
  error_log   /var/log/nginx/solid_error.log;

server {
  listen *:443 ssl;
  listen [::]:443 ssl;
  server_tokens off;

  access_log  /var/log/nginx/solid_ssl_access.log;
  error_log   /var/log/nginx/solid_ssl_error.log;

  ## [Optional] Enable HTTP Strict Transport Security
  ## HSTS is a feature improving protection against MITM attacks
  ## For more information see:
  add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";

  location / {
    proxy_pass https://localhost:8443;

    gzip off;
    proxy_redirect off;

    ## Some requests take more than 30 seconds.
    proxy_read_timeout      300;
    proxy_connect_timeout   300;
    proxy_redirect          off;

    proxy_http_version 1.1;

    proxy_set_header    Host                $http_host;
    proxy_set_header    X-Real-IP           $remote_addr;
    proxy_set_header    X-Forwarded-Ssl     on;
    proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
    proxy_set_header    X-Forwarded-Proto   $scheme;


solid_ssl_error.log gives 2020/07/29 07:48:44 [error] 6754#0: *2 no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client:, server:

next step I will try is

It says it right away. Indeed I cannot find any ssl_certificate and ssl_certificate_key in your nginx config. Appears to be nothing Solid related.

admitted, right, closed

ok, it is in so far Solid related as the documentation you mentioned does not contain a ssl_certificate either. So if you manage to have a working config, it would be helpful to submit a PR to that example.

I don’t know if your problem is solved.
This is what I used for the server where is installed behind nginx redirect all http to https
server {
	listen 80 default_server;
	listen [::]:80 default_server;
	server_name _;
	return 301 https://$host$request_uri;

thanx @bourgeoa .

this prob is solved, others arose. have no time nor mind to keep track of at the moment.

@aveltens @bourgeoa
I dont know, if I can generalize my config. I’ ve got it running using
I don’ t dare a PR