This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8" name="viewport" content="width=device-width", intial-scale="1.0"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | |
<link rel="stylesheet" type="text/css" href="https://bluehost-cdn.com/media/user/bluerock/_bh/wp_dropins.css"> | |
<title>Maintenance</title> | |
</head> | |
<body class="wp-dropin maintenance"> | |
<main class="message"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# renew_before_expiry = 30 days | |
version = 1.21.0 | |
archive_dir = /etc/letsencrypt/archive/serverok.in | |
cert = /etc/letsencrypt/live/serverok.in/cert.pem | |
privkey = /etc/letsencrypt/live/serverok.in/privkey.pem | |
chain = /etc/letsencrypt/live/serverok.in/chain.pem | |
fullchain = /etc/letsencrypt/live/serverok.in/fullchain.pem | |
# Options used in the renewal process | |
[renewalparams] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@sok-1:~# cat /etc/init.d/odoo-server | |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: odoo-server | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################ | |
## Optional override of deployment mode. We recommend you use the | |
## command bin/magento deploy:mode:set to switch modes instead | |
# Options are default, production, or developer | |
# SetEnv MAGE_MODE default | |
############################################ | |
## Uncomment these lines for CGI mode. | |
## Make sure to specify the correct cgi php binary file name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Author: Yujin Boby | |
# Web: https://serverok.in/php-script-to-pull-changes-from-git-repository | |
# Email: [email protected] | |
# This script pull latest code from git. | |
$pw = isset($_GET["pw"]) ? $_GET["pw"] : ''; | |
if ($pw != 'YOUR_PASSWORD_HERE') { | |
die("Invalid password"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Author: Yujin Boby | |
# Web: https://serverok.in | |
$rs_worlds_fav = array( | |
65,73,10,64,21,23,22,32,52,30 | |
); | |
$rs_worlds_all = array( | |
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit files | |
nano /etc/nginx/sites-enabled/stream.conf | |
Add | |
server { | |
listen 9000 ssl; | |
server_name radiotvstream.com; | |
root /usr/share/nginx/html; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Author: Yujin Boby | |
# Web: https://serverok.in | |
session_start(); | |
if (isset($_SESSION["serverok_test"])) { | |
$_SESSION["serverok_test"] += 1; | |
} else { | |
$_SESSION["serverok_test"] = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /usr/local/nginx/conf/rewrite/laravel.conf | |
location / { | |
try_files $uri $uri/ /index.php?$query_string; | |
} | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vmi465483:~# cat /etc/nginx/sites-enabled/dspace.conf | |
server { | |
server_name repositorio.unijuanpablo.edu.pe; | |
root /var/www/html/; | |
client_max_body_size 2000m; | |
location / { | |
return 301 http://repositorio.unijuanpablo.edu.pe/xmlui/; | |
} |