Add iacore.conf #3

Merged
a merged 2 commits from :main into main 2022-12-22 16:17:07 +00:00
Owner

Will this work?

Will this work?
iacore added 1 commit 2022-12-16 19:18:52 +00:00
a requested changes 2022-12-16 23:07:49 +00:00
@ -0,0 +1,21 @@
server {
Owner

Lines 1 through 8 aren't needed since https://git.exozy.me/exozyme/nginx/src/branch/main/exozyme.conf#L1-L8 already handles automatically redirecting HTTP to HTTPS.

Lines 1 through 8 aren't needed since https://git.exozy.me/exozyme/nginx/src/branch/main/exozyme.conf#L1-L8 already handles automatically redirecting HTTP to HTTPS.
@ -0,0 +8,4 @@
}
server {
listen 443 ssl http2 default_server;
Owner

You don't need default_server here.

You don't need `default_server` here.
@ -0,0 +10,4 @@
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name www.1a-insec.net iacore.exozy.me;
Owner

I recommend removing the iacore.exozy.me since it can be confusing when the exact same site is served at two different URLs.

I recommend removing the `iacore.exozy.me` since it can be confusing when the exact same site is served at two different URLs.
Author
Owner

it is as back up. Will it work? (two domain name)

it is as back up. Will it work? (two domain name)
Owner

Yeah, it'll work fine.

Yeah, it'll work fine.
@ -0,0 +11,4 @@
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name www.1a-insec.net iacore.exozy.me;
Owner

You should add

ssl_certificate /etc/letsencrypt/live/www.1a-insec.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.1a-insec.net/privkey.pem;

to handle TLS.

You should add ``` ssl_certificate /etc/letsencrypt/live/www.1a-insec.net/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/www.1a-insec.net/privkey.pem; ``` to handle TLS.
Owner

Also, you should update your website's DNS to point to exozy.me (don't use an IP address because exozyme's IP address can unexpectedly change).

Also, you should update your website's DNS to point to exozy.me (don't use an IP address because exozyme's IP address can unexpectedly change).
iacore added 1 commit 2022-12-22 16:13:13 +00:00
a merged commit c28d59f016 into main 2022-12-22 16:17:07 +00:00
Sign in to join this conversation.
No reviewers
a
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: exozyme/nginx#3
No description provided.