!rzmCByrDIhEbURWmyW:matrix.org

Third Room

561 Members
Tech Preview 1 Live Now: https://thirdroom.io140 Servers

Load older messages


SenderMessageTime
21 Sep 2023
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Has anyone here set the Thirdroom with Nginx? If possible i'd like to see an example of the host config details. 10:14:47
@deadcade:deadca.dedeadcade
In reply to @astehmari:onweb3.net
Has anyone here set the Thirdroom with Nginx? If possible i'd like to see an example of the host config details.
Have you made sure it's your server setup and not your webbrowser by trying thirdroom.io?
10:19:36
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Hi, thanks. I have used .io with our browsers and it works fine.10:21:09
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::The difference, i feel, is that we're not using Caddy and are lacking the correct configuration reference for Nginx. We can't use Caddy due to the way our server is arranged with other matters. 10:23:22
@reivilibre.element:librepush.netOlivier 'reivilibre' for SharedArrayBuffer from my exp with Godot, you need to set some headers https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy#certain_features_depend_on_cross-origin_isolation 10:26:14
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::I'm getting this in the error log; directory index of "[...]" is forbidden, client: [...], server: [...], request: "GET /landing/ HTTP/2.0", host: "[...]"11:33:36
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Screenshot_2023-09-21_12-40-33.png
Download Screenshot_2023-09-21_12-40-33.png
11:41:01
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::When you first go to the page it loads, if you reload the https://[...]/landing/ this error appears.11:42:48
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Clicking the login button gives this:11:44:51
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Screenshot_2023-09-21_12-44-26.png
Download Screenshot_2023-09-21_12-44-26.png
11:45:00
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Then reloading https://[...]/login/ gives this...11:46:24
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Screenshot_2023-09-21_12-45-35.png
Download Screenshot_2023-09-21_12-45-35.png
11:46:36
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::😎👍️🎉12:32:42
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::

Ok, got it working...

In the virtual host file:

server {
server_name [...];

root   [...];
index index.html index.htm index.nginx-debian.html;

location ^~ /login/ {
    add_header Cross-Origin-Embedder-Policy require-corp;
    add_header Cross-Origin-Opener-Policy same-origin;
    rewrite ^ /index.html break;
}
location ^~ /landing/ {
    add_header Cross-Origin-Embedder-Policy require-corp;
    add_header Cross-Origin-Opener-Policy same-origin;
    rewrite ^ /index.html break;
}
location / {
    try_files $uri $uri/ /index.html;
}

In the Nginx Conf:

add_header          Vary Accept-Encoding;
add_header          Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header          X-Frame-Options SAMEORIGIN always;
add_header          X-Content-Type-Options nosniff always;
add_header          X-XSS-Protection "1; mode=block" always;
add_header 			Access-Control-Allow-Origin "*";
add_header 			Access-Control-Allow-Origin "[...]";
add_header 			Access-Control-Allow-Credentials "true";
add_header 			Access-Control-Allow-Headers "X-Custom-Software, X-My-Custom";
add_header 			Access-Control-Expose-Headers "Origin";
add_header 			Access-Control-Max-Age "3600";
add_header 			Cross-Origin-Embedder-Policy require-corp;
add_header 			Cross-Origin-Opener-Policy same-origin;

Guess the last two are the key point then...

12:32:52
@astehmari:onweb3.netአስተማሪ : ባቴኩን :: *

Ok, got it working...

In the virtual host file:

server {
server_name [...];

root   [...];
index index.html index.htm index.nginx-debian.html;

location ^~ /login/ {
    add_header Cross-Origin-Embedder-Policy require-corp;
    add_header Cross-Origin-Opener-Policy same-origin;
    rewrite ^ /index.html break;
}
location ^~ /landing/ {
    add_header Cross-Origin-Embedder-Policy require-corp;
    add_header Cross-Origin-Opener-Policy same-origin;
    rewrite ^ /index.html break;
}
location / {
    try_files $uri $uri/ /index.html;
}

In the Nginx Conf:

add_header          Vary Accept-Encoding;
add_header          Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header          X-Frame-Options SAMEORIGIN always;
add_header          X-Content-Type-Options nosniff always;
add_header          X-XSS-Protection "1; mode=block" always;
add_header 			Access-Control-Allow-Origin "*";
add_header 			Access-Control-Allow-Origin "[...]";
add_header 			Access-Control-Allow-Credentials "true";
add_header 			Access-Control-Allow-Headers "X-Custom-Software, X-My-Custom";
add_header 			Access-Control-Expose-Headers "Origin";
add_header 			Access-Control-Max-Age "3600";
add_header 			Cross-Origin-Embedder-Policy require-corp;
add_header 			Cross-Origin-Opener-Policy same-origin;

Guess the last two are the key points then...

12:33:31
@astehmari:onweb3.netአስተማሪ : ባቴኩን :: Thanks deadcade , kimiahk & Olivier 'reivilibre' , your presence and support is much appreciated.... 12:36:06
@astehmari:thirdroom.io@astehmari:thirdroom.io joined the room.13:34:59
@astehmari:thirdroom.io@astehmari:thirdroom.io left the room.15:39:11
@astehmari:onweb3.netአስተማሪ : ባቴኩን :: Additional Configuration
Configuration options can be found in the /config.json file. You can change the default homeserver displayed on the login page, the homeservers shown in the dropdown, the OpenID Connect provider configuration, and more there. This file should be modified before the client is built.
21:29:01
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::
In reply to @astehmari:onweb3.net
Additional Configuration
Configuration options can be found in the /config.json file. You can change the default homeserver displayed on the login page, the homeservers shown in the dropdown, the OpenID Connect provider configuration, and more there. This file should be modified before the client is built.
from here: https://thirdroom.io/docs/guides/self-hosting.html
21:29:57
@astehmari:onweb3.netአስተማሪ : ባቴኩን :: "This file should be modified before the client is built." - What to do about this? I am changing the config.json , with "homeserverList", trying to add our own homeserver, but changes are not appearing on the front. In fact no changes to the server files seem to be appearing in the front. Are some things being missed??? 21:39:10
22 Sep 2023
@ecosysmaat:onweb3.netEcoSysMAAT
In reply to @astehmari:onweb3.net
"This file should be modified before the client is built." - What to do about this? I am changing the config.json , with "homeserverList", trying to add our own homeserver, but changes are not appearing on the front. In fact no changes to the server files seem to be appearing in the front. Are some things being missed???
When you change the configuration.json do you have to re do the yarn build ?
07:49:45
@ecosysmaat:onweb3.netEcoSysMAAT* In reply to @astehmari:onweb3.net "This file should be modified before the client is built." - What to do about this? I am changing the config.json , with "homeserverList," trying to add our own homeserver, but changes are not appearing on the front. In fact no changes to the server files seem to be appearing in the front. Are some things being missed??? When you change the config.json, do you have to re do the yarn build ?07:50:55
@ecosysmaat:onweb3.netEcoSysMAAT* In reply to አስተማሪ : ባቴኩን :: "This file should be modified before the client is built." - What to do about this? I am changing the config.json , with "homeserverList", trying to add our own homeserver, but changes are not appearing on the front. In fact no changes to the server files seem to be appearing in the front. Are some things being missed??? In reply to @astehmari:onweb3.net "This file should be modified before the client is built." - What to do about this? I am changing the config.json , with "homeserverList," trying to add our own homeserver, but changes are not appearing on the front. In fact no changes to the server files seem to be appearing in the front. Are some things being missed??? When you change the config.json, do you have to re do the y**arn build** ? 07:51:59
@toboi:matrix.toboidev.de@toboi:matrix.toboidev.de left the room.10:30:48
@midou:projectsegfau.ltMidou (Old) changed their display name from Midou to Midou (Old).14:15:58
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::The Death of Unity https://youtu.be/1zuZaJE3n-4?si=5e4GLQDQsIHbM_l516:31:47
@astehmari:onweb3.netአስተማሪ : ባቴኩን ::Third Room , keep floating ⛵️ ... there are people in the water 🏊‍♀️... determined to live, create and play freely. 16:37:09
23 Sep 2023
@zodiepupper:matrix.pupper.devzodiepupper changed their profile picture.06:32:10
@harlequin-complicated-sparrow:thirdroom.ioz0st joined the room.11:15:36

There are no newer messages yet.


Back to Room ListRoom Version: 6