Git URL changes

Since my git url moved
This commit is contained in:
FbIN Support 2025-10-07 20:52:15 +05:30
commit 42dbca6d2f
11 changed files with 20 additions and 20 deletions

View file

@ -1,7 +1,7 @@
# Sample Apache2 configuration
This is the apache2 configuration file used on the 4g.flossboxin.org.in official instance, in hopes that it's useful to you!
Looking for the apache2 guide? <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">go here.</a>.
Looking for the apache2 guide? <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">go here.</a>.
```xml
<VirtualHost *:443>
@ -146,7 +146,7 @@ Looking for the apache2 guide? <a href="https://git.flossboxin.org.in/FbIN/4get/
</VirtualHost>
<VirtualHost *:443>
ServerName git.flossboxin.org.in
ServerName git.bakhai.co.in
SSLEngine On
SSLOptions +StdEnvVars

View file

@ -108,7 +108,7 @@ Now, edit the following file: `/etc/apache2/sites-available/000-default.conf`, r
</Directory>
</VirtualHost>
```
To make the above snippet work, please refer to our <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/tor.md">tor site guide</a>.
To make the above snippet work, please refer to our <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/tor.md">tor site guide</a>.
## default-ssl.conf
Now, edit the file `/etc/apache2/sites-available/default-ssl.conf`, remove everything and, again, add each rule while modifying the relevant fields:
@ -177,7 +177,7 @@ Make sure to replace `4g.flossboxin.org.in` with your own domain under the `SSLC
</VirtualHost>
```
By default, the first rule dictates where traffic should be redirected to in case the client specifies an unknown domain name. Don't forget your webserver's other rules! For a complete real-world example, please <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2-example.md">check out my real-world config file I use on 4g.flossboxin.org.in</a>.
By default, the first rule dictates where traffic should be redirected to in case the client specifies an unknown domain name. Don't forget your webserver's other rules! For a complete real-world example, please <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2-example.md">check out my real-world config file I use on 4g.flossboxin.org.in</a>.
## security.conf
If you enabled the `headers` module, you can head over to `/etc/apache2/conf-enabled/security.conf` and edit:
@ -233,10 +233,10 @@ Congratulations! You now have a... 404 error on your webserver, if everything we
Run these commands:
```
cd /var/www/4get
git clone https://git.flossboxin.org.in/FbIN/4get
git clone https://git.bakhai.co.in/FbIN/4get
chmod 777 -R icons/
```
... And try accessing your webserver. You should now have a working 4get instance!
Please make sure to check out how to further <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/configure.md">configure 4get</a> to your liking!
Please make sure to check out how to further <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/configure.md">configure 4get</a> to your liking!

View file

@ -2,7 +2,7 @@
<div align=right>
> NOTE: As the previous version stated, it is better to follow the <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a> instead of the Nginx one.
> NOTE: As the previous version stated, it is better to follow the <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a> instead of the Nginx one.
> NOTE: This is going to guess that you're using either a <abbr title="(Arch Linux, Artix Linux, Endeavouros, etc...) ">Arch-based system</abbr> or a <abbr title="(Debian, Ubuntu, Devuan, etc...)">Debian-based system</abbr>, although you can still follow it with minor issues.
@ -13,7 +13,7 @@
* On Arch-based, run `pacman -Syu`.
* On Debian-based, run `apt update`, then `apt upgrade`.
3. Install the following dependencies:
* `git`: So you can clone <a href="https://git.flossboxin.org.in/FbIN/4get">this</a> repository.
* `git`: So you can clone <a href="https://git.bakhai.co.in/FbIN/4get">this</a> repository.
* `nginx`: So you can run Nginx.
* `php-fpm`: This is what allows Nginx to run *(and show)* PHP files.
* `php-imagick`, `imagemagick`: Image manipulation.
@ -121,7 +121,7 @@
dinitctl restart nginx
```
6. Clone the repository to `/var/www`:
* `git clone --depth 1 https://git.flossboxin.org.in/FbIN/4get 4get` - It clones the repository with the depth of one commit *(so it takes less time to download)* and saves the cloned repository as '4get'.
* `git clone --depth 1 https://git.bakhai.co.in/FbIN/4get 4get` - It clones the repository with the depth of one commit *(so it takes less time to download)* and saves the cloned repository as '4get'.
7. That should be it! There are some extra steps you can take, but it really just depends on you.
<h2 align=center>Encryption setup</h2>
@ -179,12 +179,12 @@
}
```
A real world example is present in [^2].
5. Once done, check the configuration with `nginx -t`. If everything's fine and dandy, refer to <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/tor.md">the Tor guide</a> to setup your onion site.
5. Once done, check the configuration with `nginx -t`. If everything's fine and dandy, refer to <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/tor.md">the Tor guide</a> to setup your onion site.
<h2 align=center>Other important things</h2>
1. <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/configure.md">Configuration guide</a>: Things to do after setup.
2. <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a>: Fallback to this if you couldn't get something to work, or you don't know something.
1. <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/configure.md">Configuration guide</a>: Things to do after setup.
2. <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a>: Fallback to this if you couldn't get something to work, or you don't know something.
<h2 align=center>Known issues</h2>

View file

@ -1,5 +1,5 @@
# Tor setup
This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">apache2 guide</a> guides you through this.
This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">apache2 guide</a> guides you through this.
1. Login as `root`.
2. Install `tor`.