Skip to content

[BUG] Nginx warnings in log about “ssl_stapling” #574

Closed as not planned
@yourjelly

Description

@yourjelly

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

As documented here: https://discourse.linuxserver.io/t/nginx-warnings-in-swag-log-about-ssl-stapling-ignored/10624

Nginx is spamming a warning to the log

nginx: [warn] “ssl_stapling” ignored, no OCSP responder URL in the certificate “/config/keys/cert.crt”

Expected Behavior

This is fixed in 3.22 of alpine-nginx, but swag still points to the master branch
https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/3.22/root/defaults/nginx/ssl.conf.sample

Which appears to be on the outs
linuxserver/docker-baseimage-alpine-nginx#185

So swag should be updated to use the default branch?

Steps To Reproduce

Have a proxy-config that doesn't work and then fix it and the logs get the ssl stapling warning

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

Unraid container

Container logs

...
Server ready
/config/nginx/proxy-confs/ MODIFY test.subdomain.conf
nginx: [emerg] unexpected "}" in /config/nginx/proxy-confs/test.subdomain.conf:43
nginx: configuration file /etc/nginx/nginx.conf test failed
Changes to nginx config detected but the changes are not valid, skipping nginx reload. Please fix your config.
/config/nginx/proxy-confs/ MODIFY test.subdomain.conf
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/config/keys/cert.crt"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions