Comments (8)
Ahh, I was wondering if that was the case too I just didn't have the ssl cert. I appreciate it. Btw are you really 15?
from snaily-cadv3.
Damn man, I'm 21 and you're a far better coder than me.
from snaily-cadv3.
If your using Linux Ubuntu (This is what I am currently running and it works)
Use Nginx to help out
@nap14hockey#1957 Posted this at the right time
sudo apt update
sudo apt install -y certbot
Run this if you use Nginx
sudo apt install -y python3-certbot-nginx
Nginx
certbot certonly --nginx -d example.com
Standalone - Use this if ngnix does not works. Make sure to stop your webserver first when using this method.
certbot certonly --standalone -d example.com
#sites-enable config
server {
listen 80;
listen 443 ssl;
server_name ;
ssl_certificate <Directory to certs>/fullchain.pem;
ssl_certificate_key <Directory to certs>/privkey.pem;
ssl_trusted_certificate <Directory to certs>/chain.pem;
location / {
proxy_pass http://localhost:3030;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
As well @Dev-CasperTheGhost This could also help in the Wiki for Ngnix
from snaily-cadv3.
Hey,
Due to new cookie regulations that don't allow Cross-Site cookies anymore, you need an SSL Certificate for your domain (https
) to have this CAD/MDT work in iframes/cross-sites.
Once you've got your SSL certificate, you need to enable secureCookie
in the config.ts
:
allowIframes: true,
secureCookie: true,
from snaily-cadv3.
Btw are you really 15?
For those interested: yes, I'm 15 at the time of posting this comment.
from snaily-cadv3.
I'll keep this issue open for others too see. Maybe it helps them too
from snaily-cadv3.
Have the domain with ssl but I'm getting ERR_SSL_PROTOCOL_ERROR not sure what to do
from snaily-cadv3.
Will add it to the wiki soon
from snaily-cadv3.
Related Issues (20)
- npm build error HOT 11
- Shared Citizen HOT 10
- [FEATURE REQUEST]: Being able to provide an alternate port to MySQL HOT 4
- Job Claims. HOT 1
- Docker installation failed HOT 2
- Error Code 500 But Still Works HOT 3
- San Andreas Fire Marshall HOT 3
- Update wiki HOT 1
- Turning on secureCookies or setting customHostUrl results in auto redirect back to login after login
- [Feature Request] Discord API Linking HOT 1
- [FEATURE REQUEST]: The ability to view a large photo of a citizen
- [FEATURE REQUEST]: Search entity by part of number HOT 1
- [FEATURE REQUEST]: Sorting list values HOT 1
- Error message does not contain field names HOT 6
- [FEATURE REQUEST]: Simplify citizens panel HOT 1
- [FEATURE REQUEST]: Confirmation for deleting items HOT 1
- TEXT column can't have a default value
- [FEATURE REQUEST]: Add the ability to create an EMS / FD department member from a citizen card
- Docker Fails to Start snailycad-web HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snaily-cadv3.