Jump to content

dr_drei

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by dr_drei

  1. I am having trouble using a reverse proxy with Cops:

     

    Quote

    server {
        listen 443 ssl;
        listen [::]:443 ssl;

        server_name cops.*;

        include /config/nginx/ssl.conf;

        client_max_body_size 0;

        # enable for ldap auth, fill in ldap details in ldap.conf
        #include /config/nginx/ldap.conf;

        location / {
            # enable the next two lines for http auth
            #auth_basic "Restricted";
            #auth_basic_user_file /config/nginx/.htpasswd;

            # enable the next two lines for ldap auth
            #auth_request /auth;
            #error_page 401 =200 /login;

            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_cops cops;
            proxy_pass https://$upstream_cops:80;
        }
    }

     

    cops.thumb.png.debd56786416f24ae4bbe2e1b1d68d6d.png

     

    I have seen people having the same problem but couldn't find a solution that works for me.

     

    Thank you for your input!

     

  2. I would really appreciate your help:

     

    Quote

    [cont-init.d] 10-adduser: exited 0.
    [cont-init.d] 20-config: executing...
    [cont-init.d] 20-config: exited 0.
    [cont-init.d] 30-keygen: executing...
    using keys found in /config/keys
    [cont-init.d] 30-keygen: exited 0.
    [cont-init.d] 50-config: executing...
    Variables set:
    PUID=99
    PGID=100
    TZ=[x]
    URL=[x]
    SUBDOMAINS=wildcard
    EXTRA_DOMAINS=
    ONLY_SUBDOMAINS=true
    DHLEVEL=2048
    VALIDATION=dns
    DNSPLUGIN=cloudflare
    EMAIL=[x]
    STAGING=

    2048 bit DH parameters present
    SUBDOMAINS entered, processing
    Wildcard cert for only the subdomains of [x] will be requested
    E-mail address entered: [x]
    dns validation via cloudflare plugin is selected
    Certificate exists; parameters unchanged; starting nginx
    creating GeoIP2 database
    [cont-init.d] 50-config: exited 0.
    [cont-init.d] 99-custom-files: executing...
    [custom-init] no custom files found exiting...
    [cont-init.d] 99-custom-files: exited 0.
    [cont-init.d] done.
    [services.d] starting services
    [services.d] done.
    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
    nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
    no field package.preload['resty.core']
    no file './resty/core.lua'
    no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
    no file '/usr/local/share/lua/5.1/resty/core.lua'
    no file '/usr/local/share/lua/5.1/resty/core/init.lua'
    no file '/usr/share/lua/5.1/resty/core.lua'
    no file '/usr/share/lua/5.1/resty/core/init.lua'
    no file '/usr/share/lua/common/resty/core.lua'
    no file '/usr/share/lua/common/resty/core/init.lua'
    no file './resty/core.so'
    no file '/usr/local/lib/lua/5.1/resty/core.so'
    no file '/usr/lib/lua/5.1/resty/core.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file './resty.so'
    no file '/usr/local/lib/lua/5.1/resty.so'
    no file '/usr/lib/lua/5.1/resty.so'
    no file '/usr/local/lib/lua/5.1/loadall.so')

    Server ready

     

    and I can't access my subdomains since I came back to Unraid after a few weeks. The SSL certificate had to be renewed and it seems to be fine when I check it with an SSL checker. The subdomains won't though, if that is of relevance. I'm not sure if that is good or not.

     

    a) Does not being able to access my subdomains has a conneciton to the error(s) I get in the report?

    b) How can I fix it?

     

    I followed Spaceinvaderone's videos to setting up a reverse proxy with letsencrypt using a wildcard.

     

    Thank you all for your input!

     

    Edit: Subdomains are accessible again. The LetsEncrypt error persists though.

×
×
  • Create New...