disable ssl

This commit is contained in:
servdal
2025-07-17 08:30:55 +07:00
parent 9437483030
commit 1bbf9c00f1
3 changed files with 25 additions and 3 deletions
@@ -24,8 +24,8 @@ class RouteServiceProvider extends ServiceProvider
*/
public function boot(): void
{
resolve(\Illuminate\Routing\UrlGenerator::class)->forceScheme('https');
parent::boot();
//resolve(\Illuminate\Routing\UrlGenerator::class)->forceScheme('https');
//parent::boot();
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
});
+6 -1
View File
@@ -5,5 +5,10 @@ WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
RUN apt-get update && apt-get install -y \
net-tools \
iproute2 \
procps \
lsof \
&& rm -rf /var/lib/apt/lists/*
CMD ["python", "app.py"]
+17
View File
@@ -1630,3 +1630,20 @@ OBR|||1|TEST123^Exa
2025-07-17 01:11:53,049 - ERROR - Failed to bind to port 6001: [Errno 98] Address already in use
2025-07-17 01:11:53,099 - WARNING - * Debugger is active!
2025-07-17 01:11:53,100 - INFO - * Debugger PIN: 804-449-067
2025-07-17 01:21:30,786 - INFO - Listening on TCP port 6001...
2025-07-17 01:21:31,276 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.18.0.3:5000
2025-07-17 01:21:31,277 - INFO - Press CTRL+C to quit
2025-07-17 01:21:31,278 - INFO - * Restarting with stat
2025-07-17 01:24:26,800 - INFO - Listening on TCP port 6001...
2025-07-17 01:24:27,334 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.18.0.4:5000
2025-07-17 01:24:27,373 - INFO - Press CTRL+C to quit
2025-07-17 01:24:27,375 - INFO - * Restarting with stat
2025-07-17 01:24:33,347 - ERROR - Failed to bind to port 6001: [Errno 98] Address already in use
2025-07-17 01:24:33,371 - WARNING - * Debugger is active!
2025-07-17 01:24:33,616 - INFO - * Debugger PIN: 631-229-636