remove unused files
This commit is contained in:
398
README.md
398
README.md
@ -1,398 +0,0 @@
|
|||||||
# The Tempus Project
|
|
||||||
|
|
||||||
|
|
||||||
need to make a vs battle for dnd. someone makes a truly broken character, we take the base character and hand it to two people and give them some time to figure out how they would break it
|
|
||||||
|
|
||||||
need to track points once a week
|
|
||||||
|
|
||||||
a huge table tracks points day to day then we add and erase the old data, or move it to historical...
|
|
||||||
|
|
||||||
## Rapid Prototyping Framework
|
|
||||||
|
|
||||||
### Developer(s): Joey Kimsey
|
|
||||||
|
|
||||||
The aim of this project is to provide a simple and stable platform from which to easily add functionality. The goal being the ability to quickly build and test new projects with a lightweight ecosystem to help.
|
|
||||||
|
|
||||||
**Notice: This code is in _still_ not production ready. This framework is provided as is, use at your own risk.**
|
|
||||||
I am working very hard to ensure the system is safe and reliable enough for me to endorse its widespread use. Unfortunately, it still needs a lot of QA and improvements.
|
|
||||||
|
|
||||||
Currently I am in the process of testing all the systems in preparation for the first production ready release. The beta is still on-going. If you would like to participate or stay up to date with the latest, you can find more information at: https://TheTempusProject.com/beta
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
A User management system with groups, permissions, preferences, registration, and recovery. (All Controlled dynamically via our plugin interface)
|
|
||||||
A Plugin system that allows plug-and-play functionality for a huge number of features.
|
|
||||||
Compatibility with both Apache and NGINX.
|
|
||||||
Built with Bootstrap with a focus on mobile compatibility.
|
|
||||||
Incredibly easy to set-up, deploy, and develop with.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
Preferred method for installation is using composer.
|
|
||||||
|
|
||||||
### Manually
|
|
||||||
|
|
||||||
### Docker
|
|
||||||
|
|
||||||
### Composer
|
|
||||||
|
|
||||||
1. Clone the directory to wherever you want to install the framework.
|
|
||||||
2. Open your terminal to the directory you previously cloned the repository.
|
|
||||||
3. Install using composer:
|
|
||||||
`php composer.phar install`
|
|
||||||
4. Open your browser and navigate to install.php (it will be in the root directory of your installation)
|
|
||||||
5. When prompted, complete the forms and complete the process.
|
|
||||||
|
|
||||||
#### Apache
|
|
||||||
|
|
||||||
#### NGINX
|
|
||||||
|
|
||||||
#### Docker-Compose
|
|
||||||
|
|
||||||
If you have any trouble with the installation, you can check out our FAQ page on the wiki for answers to common issues.
|
|
||||||
|
|
||||||
If you would like a full copy of the project with all of its included dependencies you can find it at https://github.com/TheTempusProject/TempusProjectFull
|
|
||||||
Please note this repository is only up to the latest _stable_ release. Please continue to use composer update to get the latest development releases.
|
|
||||||
|
|
||||||
**Do not forget to remove install.php once you have finished installation!**
|
|
||||||
|
|
||||||
#### Currently being developed
|
|
||||||
|
|
||||||
- [ ] Adding documentation
|
|
||||||
- [ ] Unit tests
|
|
||||||
|
|
||||||
#### Future updates
|
|
||||||
|
|
||||||
- [ ] Expansion of PDO to allow different database types
|
|
||||||
- [ ] Update installer to account for updates.
|
|
||||||
- [ ] Implement uniformity in terms of error reporting, exceptions, logging.
|
|
||||||
- [ ] The templating system has gotten too large and needs to be split into its own repo
|
|
||||||
|
|
||||||
TTP ToDo:
|
|
||||||
|
|
||||||
need to integrate new plugins for some moved features
|
|
||||||
canary
|
|
||||||
comments
|
|
||||||
members
|
|
||||||
messages
|
|
||||||
Split inbox and outbox apart
|
|
||||||
split messages from usercp
|
|
||||||
redirects
|
|
||||||
|
|
||||||
need to make sure all 'use ' statements are updated to new repo names
|
|
||||||
|
|
||||||
namespace TempusDebugger; => namespace TheTempusProject\Canary;
|
|
||||||
namespace TheTempusProject\Houdini; => namespace TheTempusProject\houdini;
|
|
||||||
namespace TheTempusProject/TempusTool; => namespace TheTempusProject\Overwatch;
|
|
||||||
need a mechanism for handeling config/constants.php in each plugin
|
|
||||||
migrate all 'secondary' constants (constants not used in the default execution of the application) to plugin folders
|
|
||||||
|
|
||||||
Perform final F & R for:
|
|
||||||
"tpc"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
need better handeling around blog filters like month and day
|
|
||||||
|
|
||||||
split profile from usercp
|
|
||||||
|
|
||||||
|
|
||||||
need a way to secure the api
|
|
||||||
need a standard way to do apis
|
|
||||||
need a way to show parts conditionally like {@if}
|
|
||||||
need
|
|
||||||
if
|
|
||||||
else
|
|
||||||
elseif
|
|
||||||
need a way to show something conditionally if a plugin is enabled
|
|
||||||
like {@enabled:comments}
|
|
||||||
{comments}
|
|
||||||
{@enabled}
|
|
||||||
|
|
||||||
https://css-tricks.com/drag-and-drop-file-uploading/
|
|
||||||
|
|
||||||
https://www.smashingmagazine.com/2018/01/drag-drop-file-uploader-vanilla-js/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
need to merge both autoloaders into the same one under bin
|
|
||||||
need to be able to install multiple database tables for the same plugin
|
|
||||||
|
|
||||||
|
|
||||||
rename default.js and .css to main.js/css
|
|
||||||
fix where i moved those to the app/css and app/js folders
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
make a new template repo/dependency
|
|
||||||
make a new Debug repo/dependency
|
|
||||||
Fix the plugin
|
|
||||||
fix the console logger
|
|
||||||
|
|
||||||
add the ability to include js files
|
|
||||||
add the ability to include css files as needed
|
|
||||||
|
|
||||||
chat should include a config for the refresh timer
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
and better error handeling for models and plugins
|
|
||||||
need to make a singular list function to remove or combine these:
|
|
||||||
listGroupsSimple
|
|
||||||
listPosts
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
i need to move everything moderator relateed to comments
|
|
||||||
i also need to make sure that moderators can actually moderate
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
the get form html thing should work perfectly with the database array to create hella simple to generate forms for anything
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
we are not doing anything with requiredPlugins
|
|
||||||
|
|
||||||
|
|
||||||
comments and blog are being manually added in the admin dashboard, this could be a problem when they are disabled
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
removed from blog filter
|
|
||||||
commentCount
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
need to address the error handler just failing to work
|
|
||||||
|
|
||||||
and the exception handler picking up random errors
|
|
||||||
|
|
||||||
|
|
||||||
need to revisit all of the form checking and make sure it is apparent to the user when and how they mess something up.
|
|
||||||
|
|
||||||
|
|
||||||
many pages are missing descriptions, need to add them
|
|
||||||
|
|
||||||
|
|
||||||
https://jsonapi.org/format/
|
|
||||||
|
|
||||||
|
|
||||||
need a way for the template system to:
|
|
||||||
switch between the meta-header content types for the sharing info
|
|
||||||
xlarge
|
|
||||||
large
|
|
||||||
etc
|
|
||||||
need better checking around title, meta-image, and descriptions
|
|
||||||
prevent accidently feeding bad images or text to these fields
|
|
||||||
need to manages js and css includes better, and incorperate it into templating system
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
the get timezone getdate gettime format functions all need to be migrated to app, stored as static vars and refactored
|
|
||||||
in core, am i using htaccess.html or nginx.html anywhere, if not, change them to .example
|
|
||||||
Routes -> getHost is using a terrible conditional for docker hosts, need to improve
|
|
||||||
Need to test all the filters for the editor stuff
|
|
||||||
need the ability for the autoloader to accept specific file name associations
|
|
||||||
needs a require_all
|
|
||||||
need to re-namespace all classes and functions
|
|
||||||
some classes need to be converted to non-static
|
|
||||||
some functions need to be converted to more static
|
|
||||||
run from the command line
|
|
||||||
|
|
||||||
initiated // is in so many controllers, i def want this removed initialized
|
|
||||||
tempus_project.php
|
|
||||||
test running commands from cli
|
|
||||||
if we move install.php to the bin, it will be unaccessible to the web server??
|
|
||||||
if its unaccessible except theough the index.php router, we don't need to delete it because its unaccessible again
|
|
||||||
can i use submodules?
|
|
||||||
errors should be able to be customized
|
|
||||||
if its in the app
|
|
||||||
should add more logging, esp for admin actions
|
|
||||||
need to add self::$pageDescription to many pages
|
|
||||||
man, messages is hot garbage, def needs a rework
|
|
||||||
need a mechanism to add listeners and events
|
|
||||||
ability to restore backups of perms prefs and configs
|
|
||||||
if your controller has no index method, you're just SOL
|
|
||||||
a blank page is called and no method is loaded
|
|
||||||
Warns should be for failed checks
|
|
||||||
add a check for having write access to the config folder and the uploads folder
|
|
||||||
and whatever is going to be needed to the plugin downloading
|
|
||||||
|
|
||||||
some configs have been removed and need to be accounted for
|
|
||||||
Unused:
|
|
||||||
---------------------------
|
|
||||||
Config::getValue('bugReports/sendEmail')
|
|
||||||
Config::getValue('bugReports/emailTemplate')
|
|
||||||
Config::getValue('feedback/sendEmail')
|
|
||||||
Config::getValue('feedback/emailTemplate')
|
|
||||||
Config::getValue('uploads/files')
|
|
||||||
Config::getValue('uploads/images')
|
|
||||||
Config::getValue('uploads/maxFileSize')
|
|
||||||
|
|
||||||
|
|
||||||
after all changes are pushed up and available, docker needs to be tested and updated
|
|
||||||
when using composer, the composer page is populated and correct
|
|
||||||
|
|
||||||
the config step of install should be checking the db creds
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// need to make notes of other standards as i go to update the contributing document
|
|
||||||
// need to cross refrence the configs from core and ttp
|
|
||||||
// ensure the resources folder is current
|
|
||||||
// document, fix, and remove @TODO's where possible
|
|
||||||
Search for cuss words, they make you look stupid
|
|
||||||
fuck
|
|
||||||
shit
|
|
||||||
dam
|
|
||||||
damm
|
|
||||||
damn
|
|
||||||
god
|
|
||||||
ass
|
|
||||||
cunt
|
|
||||||
bitch
|
|
||||||
ffs
|
|
||||||
wtf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
had to remove the tracking pixel that was to be used with the contacts form, this will need to be re- added in a future update
|
|
||||||
had to remove the rest controller, its currently just unused
|
|
||||||
|
|
||||||
// this can be used for the tempus project
|
|
||||||
composer create-project laravel/laravel example-app
|
|
||||||
|
|
||||||
# Release Checklist
|
|
||||||
|
|
||||||
=====================
|
|
||||||
- [] Spell check every file.
|
|
||||||
- [] All documentation must be reviewed for accuracy.
|
|
||||||
- [] If a new year has passed, ensure the year has been updated where applicable.
|
|
||||||
- [] If default permissions, preferences, configs, base classes or models have been updated, update resources accordingly.
|
|
||||||
- []
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace TempusDebugger; => namespace TheTempusProject\Canary;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
need to make sure a template loader can be called and still use the default template file, IE always add these CSS or JS resources.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
discord bot that shares updates on your party from the site
|
|
||||||
maybe a summary after each session
|
|
||||||
warning that time is coming up
|
|
||||||
changes made to anything
|
|
||||||
D&D news
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
is it possible to store a campaigns state on the blockchain?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
keeping this as a repository for podcasts would get more people to check it out
|
|
||||||
same for youtube
|
|
||||||
|
|
||||||
people love sharing their resources, so make it EASY to find podcasts, and youtube channels, and etsy stores, and give people a place to share it with their groups
|
|
||||||
|
|
||||||
try and earn commisions from this and do featured XYZ every x days or weeks or whatever
|
|
||||||
|
|
||||||
have different "kinds" of dice to portray on the dice roll page
|
|
||||||
|
|
||||||
maybe spinners instead of conventional die
|
|
||||||
|
|
||||||
maybe weird health potions for D4's
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
What is my goal here?
|
|
||||||
|
|
||||||
I would like to play Dungeons and Dragons once a week with my friends. In an ideal world, I would DM this game and spend all week building tools for us to use that I then put on a website which sells memberships to other players so they can use the tools too.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
webmaster@joeykimsey.com
|
|
||||||
|
|
||||||
pw
|
|
||||||
pu7N83oUdwd
|
|
||||||
|
|
||||||
|
|
||||||
jk - logo info
|
|
||||||
|
|
||||||
|
|
||||||
knewave
|
|
||||||
|
|
||||||
|
|
||||||
#00A
|
|
||||||
#0F0
|
|
||||||
|
|
||||||
|
|
||||||
Can I get this refilled in a better way? This '1 refill every 90 days' leads to situations where CVS fills up my bottle without my request and I have to go get a refill I don't want or need. With this refill schedule f you don't get it refilled within 7 days of when CVS decides its time, you just don't get medicine. How about giving me a couple refills that I can use when I actually need them? I have ADHD, there is no world where I take 90 pills in 90 days. it will always be 85, 80, 82 / 90. If I had a medical condition that required 1 pill every 24 hours or I would die, I would make it a week, maybe.
|
|
@ -1,68 +0,0 @@
|
|||||||
# fresh install
|
|
||||||
|
|
||||||
## Install required apps
|
|
||||||
```
|
|
||||||
apt install git composer php8.1-curl -y
|
|
||||||
```
|
|
||||||
|
|
||||||
## Set-Up the SSL folder to keep things together
|
|
||||||
|
|
||||||
```
|
|
||||||
mkdir /etc/nginx/ssl/
|
|
||||||
```
|
|
||||||
|
|
||||||
- Now That you have the directory created, copy the `.key` and `.pem` files into the newly made ssl folder on the server.
|
|
||||||
- You will then need to modify the filer ownership and permissions
|
|
||||||
|
|
||||||
```
|
|
||||||
chmod -R 655 /etc/nginx/ssl
|
|
||||||
chown -R www-data:www-data /etc/nginx/ssl
|
|
||||||
```
|
|
||||||
|
|
||||||
## Add configs for the site
|
|
||||||
|
|
||||||
- First, copy `ttp.conf` into the `/etc/nginx/snippets/` folder.
|
|
||||||
- Next, copy the `joeykimsey.com.conf` file into the `/etc/nginx/sites-available/` folder.
|
|
||||||
- The next block will acomplish a few things: backup the old config, enable the new config, disable the old config, and restart the server.
|
|
||||||
```
|
|
||||||
mkdir /etc/nginx/sites-available/old/
|
|
||||||
sudo mv /etc/nginx/sites-available/* /etc/nginx/sites-available/old/
|
|
||||||
sudo ln -s /etc/nginx/sites-available/joeykimsey.com.conf /etc/nginx/sites-enabled/joeykimsey.com.conf
|
|
||||||
sudo rm -rf /etc/nginx/sites-enabled/*
|
|
||||||
sudo systemctl restart nginx.service
|
|
||||||
```
|
|
||||||
|
|
||||||
## Set-Up the files
|
|
||||||
|
|
||||||
```
|
|
||||||
cd /var/www/
|
|
||||||
git config --global credential.helper store
|
|
||||||
git clone https://git.thetempusproject.com/joeykimsey/joeykimsey-com.git joeykimsey.com
|
|
||||||
cd joeykimsey.com
|
|
||||||
git fetch
|
|
||||||
git checkout production
|
|
||||||
```
|
|
||||||
|
|
||||||
_You will be prompted for git creds, use the creds shared below_
|
|
||||||
|
|
||||||
```
|
|
||||||
git config --global --add safe.directory /var/www/joeykimsey.com
|
|
||||||
git config --global --add safe.directory /var/www/joeykimsey.com/vendor/joeykimsey/hermes
|
|
||||||
git config --global user.name "Production Server"
|
|
||||||
git config --global user.email webmaster@thetempusproject.com
|
|
||||||
cd joeykimsey.com
|
|
||||||
composer install
|
|
||||||
chmod -R 777 .
|
|
||||||
chown -R www-data:www-data .
|
|
||||||
```
|
|
||||||
|
|
||||||
#### GitLab Credentials:
|
|
||||||
|
|
||||||
User: `root`\
|
|
||||||
Password: `rdFtVPhzlu6u6orxN4NAsbgAE4AyqZPTXPXQTleyA5I=`
|
|
||||||
|
|
||||||
#### Logging
|
|
||||||
|
|
||||||
```
|
|
||||||
tail -f /var/log/nginx/*.log
|
|
||||||
```
|
|
@ -1,36 +0,0 @@
|
|||||||
# upstream to abstract backend connection(s) for php
|
|
||||||
upstream php {
|
|
||||||
server unix:/run/php/php8.1-fpm.sock;
|
|
||||||
}
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
listen [::]:80;
|
|
||||||
server_name joeykimsey.com;
|
|
||||||
include snippets/well-known;
|
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
}
|
|
||||||
server {
|
|
||||||
listen 443 ssl http2 default_server;
|
|
||||||
listen [::]:443 ssl http2 default_server;
|
|
||||||
server_name joeykimsey.com;
|
|
||||||
include snippets/ssl-params.conf;
|
|
||||||
root /var/www/joeykimsey.com;
|
|
||||||
index index.php;
|
|
||||||
|
|
||||||
# max php upload size
|
|
||||||
client_max_body_size 100M;
|
|
||||||
|
|
||||||
# disable direcory indexing
|
|
||||||
autoindex off;
|
|
||||||
|
|
||||||
# custom TTP code
|
|
||||||
include snippets/ttp.conf;
|
|
||||||
|
|
||||||
location ~* \.php$ {
|
|
||||||
fastcgi_pass php;
|
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_intercept_errors on;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
-----BEGIN PRIVATE KEY-----
|
|
||||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCCDz/yF986JlZv
|
|
||||||
L9clCvVBV+unJEYLm9FUCS4r3dPG96heQWX0qIV4an25jk/bb//sO4MOA3tmRiYk
|
|
||||||
sf3XsYPD6WY+ezNhUx4i4ADO63CRRvNdgKozspI2F3FrWrQgp7vZ4HgRGNeWNExc
|
|
||||||
oFyuW+x97Sg6I8CEvL2GPNn/UvQ7BVygrCI5VlypYiQcVtWXNq9zFXI6pz/4tZmD
|
|
||||||
QSdRAoNRjcMEetKsKyG1oEnbdPgb8gdaUmpa/lTgjiWj8fU9AS4sFgFCzHMyzjnn
|
|
||||||
Y3lonwn1/a6rZmyPYs85AnllyRq7bvDfWq12FVXujeLMt53RKdECvnXaIQsOALpy
|
|
||||||
AfbrCczhAgMBAAECggEAE5dYeo8+APRlcLo0HlBYQU+NH9BG/N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PAsYjGsBNDVOrCqfUkreT+O2RxmGLc
|
|
||||||
MxqQ5eFEknAqds85EGqd3isQPHrGSxAy83la6OKPAoGBAKju8lOKvGuX5OSGzHdd
|
|
||||||
3rbxSbsCodJs4BwnfD6LsL1MnNsjZvN8MOaSvHUUc/FATbj1iv/iNQ8ZNLtYTQLf
|
|
||||||
83GzwZuqWKHw+dHzv5+32ITieF3qNMC/QNKxMmIOz4QthNpqOfC5LUiPf8rgXIMI
|
|
||||||
UQ1VHuQhTUaQtd53UABDuIwi
|
|
||||||
-----END PRIVATE KEY-----
|
|
@ -1,27 +0,0 @@
|
|||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIEqDCCA5CgAwIBAgIUDbwdQX307jhWxbOmrK7wkL03094wDQYJKoZIhvcNAQEL
|
|
||||||
BQAwgYsxCzAJBgNVBAYTAlVTMRkwFwYDVQQKExBDbG91ZEZsYXJlLCBJbmMuMTQw
|
|
||||||
MgYDVQQLEytDbG91ZEZsYXJlIE9yaWdpbiBTU0wgQ2VydGlmaWNhdGUgQXV0aG9y
|
|
||||||
aXR5MRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRMwEQYDVQQIEwpDYWxpZm9ybmlh
|
|
||||||
MB4XDTI0MDgxNjA5MzQwMFoXDTM5MDgxMzA5MzQwMFowYjEZMBcGA1UEChMQQ2xv
|
|
||||||
dWRGbGFyZSwgSW5jLjEdMBsGA1UECxMUQ2xvdWRGbGFyZSBPcmlnaW4gQ0ExJjAk
|
|
||||||
BgNVBAMTHUNsb3VkRmxhcmUgT3JpZ2luIENlcnRpZmljYXRlMIIBIjANBgkqhkiG
|
|
||||||
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgg8/8hffOiZWby/XJQr1QVfrpyRGC5vRVAku
|
|
||||||
K93TxveoXkFl9KiFeGp9uY5P22//7DuDDgN7ZkYmJLH917GDw+lmPnszYVMeIuAA
|
|
||||||
zutwkUbzXYCqM7KSNhdxa1q0IKe72eB4ERjXljRMXK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zSTgoVcczujoZbIoB2Zh2bhEu++Bhp7XndhmCCC50ZF9c=
|
|
||||||
-----END CERTIFICATE-----
|
|
@ -1,74 +0,0 @@
|
|||||||
add_header X-Frame-Options "SAMEORIGIN";
|
|
||||||
add_header X-Content-Type-Options "nosniff";
|
|
||||||
|
|
||||||
access_log /var/log/nginx/access.log;
|
|
||||||
error_log /var/log/nginx/error.log;
|
|
||||||
|
|
||||||
index index.php;
|
|
||||||
|
|
||||||
charset utf-8;
|
|
||||||
|
|
||||||
error_page 404 /index.php;
|
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/ssl/joeykimsey.com.pem;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/joeykimsey.com.key;
|
|
||||||
|
|
||||||
location = /favicon.ico {
|
|
||||||
log_not_found off;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location = /robots.txt {
|
|
||||||
allow all;
|
|
||||||
log_not_found off;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /\.(?!well-known).* {
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /\.ht {
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ ^/(doc|sql|setup)/ {
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /\. {
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~* \.(?:js|css|png|jpg|gif|ico|woff|ttf|woff2)$ {
|
|
||||||
access_log off;
|
|
||||||
log_not_found off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /js/ {
|
|
||||||
access_log off;
|
|
||||||
log_not_found off;
|
|
||||||
try_files $uri /index.php?error=js404&file=$uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /css/ {
|
|
||||||
access_log off;
|
|
||||||
log_not_found off;
|
|
||||||
try_files $uri /index.php?error=css404&file=$uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /images/ {
|
|
||||||
try_files $uri /index.php?error=image404&url=$uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /uploads/ {
|
|
||||||
try_files $uri /index.php?error=upload404&url=$uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /errors/ {
|
|
||||||
try_files $uri /index.php?error=$uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
rewrite ^/(.+)$ /index.php?url=$1&$args;
|
|
||||||
}
|
|
Reference in New Issue
Block a user