Skip to content

Commit

Permalink
Updated default server to https
Browse files Browse the repository at this point in the history
  • Loading branch information
AMacro committed Jul 1, 2024
1 parent 0fa44a6 commit e5051da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Lobby Servers/PHP Server/.htaccess
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Enable the RewriteEngine
RewriteEngine On

# Uncomment below to force HTTPS
# RewriteCond %{HTTPS} off
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Redirect all non-existing paths to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Expand Down
2 changes: 1 addition & 1 deletion Lobby Servers/PHP Server/Read Me.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,5 @@ Example:
```apacheconf
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
```
2 changes: 1 addition & 1 deletion Multiplayer/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class Settings : UnityModManager.ModSettings, IDrawable
[Space(10)]
[Header("Lobby Server")]
[Draw("Lobby Server address", Tooltip = "Address of lobby server for finding multiplayer games")]
public string LobbyServerAddress = "http://dv.mineit.space";//"http://localhost:8080";
public string LobbyServerAddress = "https://dv.mineit.space";//"http://localhost:8080";
[Header("Last Server Connected to by IP")]
[Draw("Last Remote IP", Tooltip = "The IP for the last server connected to by IP.")]
public string LastRemoteIP = "";
Expand Down

0 comments on commit e5051da

Please sign in to comment.