Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP Multilang Plugin does not work #176

Open
vsatmydynipnet opened this issue Jul 5, 2022 · 0 comments
Open

WP Multilang Plugin does not work #176

vsatmydynipnet opened this issue Jul 5, 2022 · 0 comments

Comments

@vsatmydynipnet
Copy link

Wenn adding the wp-multilang module it is impossible to add a additional language because it always redirects to the sso login page. The rest of the plugin works, as it looks like.

To add a additional language I temporary changed:

@@ -37,34 +37,34 @@
     listen [::]:443 ssl http2;
     server_name selfhostervps.com;
 
-    include /etc/nginx/conf.d/security.conf.inc;
+#    include /etc/nginx/conf.d/security.conf.inc;
 
     ssl_certificate /etc/yunohost/certs/selfhostervps.com/crt.pem;
     ssl_certificate_key /etc/yunohost/certs/selfhostervps.com/key.pem;
 
     
-    more_set_headers "Strict-Transport-Security : max-age=63072000; includeSubDomains; preload";
+#    more_set_headers "Strict-Transport-Security : max-age=63072000; includeSubDomains; preload";
     
     
-    # OCSP settings
-    ssl_stapling on;
-    ssl_stapling_verify on;
-    ssl_trusted_certificate /etc/yunohost/certs/selfhostervps.com/crt.pem;
-    resolver 127.0.0.1 127.0.1.1 valid=300s;
-    resolver_timeout 5s;
+#    # OCSP settings
+#    ssl_stapling on;
+#    ssl_stapling_verify on;
+#    ssl_trusted_certificate /etc/yunohost/certs/selfhostervps.com/crt.pem;
+#    resolver 127.0.0.1 127.0.1.1 valid=300s;
+#    resolver_timeout 5s;
     
 
-    location ^~ '/.well-known/autoconfig/mail/' {
-        alias /var/www/.well-known/selfhostervps.com/autoconfig/mail/;
-    }
+#    location ^~ '/.well-known/autoconfig/mail/' {
+#        alias /var/www/.well-known/selfhostervps.com/autoconfig/mail/;
+#    }
 
-    access_by_lua_file /usr/share/ssowat/access.lua;
+#    access_by_lua_file /usr/share/ssowat/access.lua;
 
     include /etc/nginx/conf.d/selfhostervps.com.d/*.conf;
 
-    include /etc/nginx/conf.d/yunohost_sso.conf.inc;
-    include /etc/nginx/conf.d/yunohost_admin.conf.inc;
-    include /etc/nginx/conf.d/yunohost_api.conf.inc;
+#    include /etc/nginx/conf.d/yunohost_sso.conf.inc;
+#    include /etc/nginx/conf.d/yunohost_admin.conf.inc;
+#    include /etc/nginx/conf.d/yunohost_api.conf.inc;
 
     access_log /var/log/nginx/selfhostervps.com-access.log;
     error_log /var/log/nginx/selfhostervps.com-error.log;


and restartet nginx. after adding the language i rolled back the original file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant