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: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready