Welcome! Log In Create A New Profile

Advanced

Need Help

Posted by Edi14 
Need Help
January 22, 2019 06:36AM
Hello,

I need some help with nginx config, I have created an A record for www.domain.domain.com to point to server where i have cofigured my app www.test.com, i have created below rule to make redirection:

server {
listen 80;
server_name www.domain.domain.com *.domain.com;
location = / {
return 301 https://domain.domain.com/Songs/join;
}
}

but i don't know to activate SSL in this server for this subdomain, in above case is the same app used only URL is different. Attached is my nginx configuration.



Edited 1 time(s). Last edit at 01/22/2019 06:37AM by Edi14.
Attachments:
open | download - test.conf (2.9 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready